diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2019-05-15 14:30:09 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-06-28 08:45:40 +0200 |
commit | 374b0be668439f51f7e07a1c155dcbf79d1a8d33 (patch) | |
tree | bcd590220500588cb6f0cc34c8b3f70dfaf8801d /server/sonar-process | |
parent | b9dc94e84a4d1cb2f553125271352fa118ca06c5 (diff) | |
download | sonarqube-374b0be668439f51f7e07a1c155dcbf79d1a8d33.tar.gz sonarqube-374b0be668439f51f7e07a1c155dcbf79d1a8d33.zip |
SONAR-12002 Fail startup if JRE < 11
Diffstat (limited to 'server/sonar-process')
-rw-r--r-- | server/sonar-process/src/main/java/org/sonar/process/System2.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/System2.java b/server/sonar-process/src/main/java/org/sonar/process/System2.java index e74ba7d4dea..93a46cc3dd0 100644 --- a/server/sonar-process/src/main/java/org/sonar/process/System2.java +++ b/server/sonar-process/src/main/java/org/sonar/process/System2.java @@ -41,14 +41,6 @@ public interface System2 { public boolean isOsWindows() { return SystemUtils.IS_OS_WINDOWS; } - - public boolean isJava9() { - return SystemUtils.JAVA_VERSION != null && SystemUtils.JAVA_VERSION.startsWith("9"); - } - - public boolean isJava10() { - return SystemUtils.JAVA_VERSION != null && SystemUtils.JAVA_VERSION.startsWith("10"); - } }; /** @@ -65,14 +57,4 @@ public interface System2 { * True if this is MS Windows. */ boolean isOsWindows(); - - /** - * True is current Java version is Java 9. - */ - boolean isJava9(); - - /** - * True is current Java version is Java 10. - */ - boolean isJava10(); } |