From 40409b47b0c9ecdc7b4c198e0b82580ded8c22b3 Mon Sep 17 00:00:00 2001 From: colin-mueller-sonarsource Date: Fri, 30 Apr 2021 10:02:23 +0200 Subject: SONAR-14783 Link Java 11 Upgrade Notes in Warning --- .../src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sonar-scanner-engine/src/main') diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java index 74f450538d8..e8aee0067b9 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java @@ -88,7 +88,8 @@ public class GlobalContainer extends ComponentContainer { String.class.getMethod("isBlank"); } catch (NoSuchMethodException e) { LOG.warn("SonarScanner will require Java 11 to run, starting in SonarQube 9.x"); - analysisWarnings.addUnique("SonarScanner will require Java 11 to run, starting in SonarQube 9.x. Please upgrade the version of Java that executes the scanner."); + analysisWarnings.addUnique("SonarScanner will require Java 11 to run, starting in SonarQube 9.x. Please upgrade the version of Java that executes the scanner and " + + "refer to the documentation if needed."); } } -- cgit v1.2.3