]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-14783 Link Java 11 Upgrade Notes in Warning
authorcolin-mueller-sonarsource <colin.mueller@sonarsource.com>
Fri, 30 Apr 2021 08:02:23 +0000 (10:02 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 30 Apr 2021 20:03:23 +0000 (20:03 +0000)
sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java

index 74f450538d8555a62c3e5afad60b1523eae7bd19..e8aee0067b95f30c43fc88011d9478c176db81ac 100644 (file)
@@ -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 <a href=\"/documentation/analysis/analysis-with-java-11/\" target=\"_blank\">the documentation</a> if needed.");
     }
   }