diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2019-06-27 11:18:24 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-06-28 08:45:57 +0200 |
commit | b7721297e932179f5e6537d4fbab326c1fdd6c46 (patch) | |
tree | 8170580579505582d2388ac16b0be6d902ca9595 /sonar-scanner-engine | |
parent | ab644c260ca81e0c7af7620d2ea427ea5c2083b5 (diff) | |
download | sonarqube-b7721297e932179f5e6537d4fbab326c1fdd6c46.tar.gz sonarqube-b7721297e932179f5e6537d4fbab326c1fdd6c46.zip |
SONAR-12002 Fail startup of SonarQube server if JRE < 11
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 0076875aa49..87f69aad2a8 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 @@ -83,7 +83,7 @@ public class GlobalContainer extends ComponentContainer { try { String.class.getMethod("isBlank"); } catch (NoSuchMethodException e) { - throw new IllegalStateException("SonarScanner requires Java 11+ to run"); + LOG.warn("SonarScanner will require Java 11+ to run starting in SonarQube 8.x"); } } |