From 374b0be668439f51f7e07a1c155dcbf79d1a8d33 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Wed, 15 May 2019 14:30:09 -0500 Subject: SONAR-12002 Fail startup if JRE < 11 --- .../src/main/java/org/sonar/process/System2.java | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'server/sonar-process') 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(); } -- cgit v1.2.3