Skip to content

Commit 4417727

Browse files
committed
Version 0.0.0 exception reverted
Needs to stay there, because of the serverless tests.
1 parent 0e831f6 commit 4417727

File tree

1 file changed

+1
-1
lines changed
  • build-tools/src/main/java/org/elasticsearch/gradle/util

1 file changed

+1
-1
lines changed

build-tools/src/main/java/org/elasticsearch/gradle/util/OsUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private OsUtils() {}
3838
* This method returns true if the given version of the JDK is known to be incompatible
3939
*/
4040
public static boolean jdkIsIncompatibleWithOS(Version version) {
41-
return version.onOrBefore("8.10.4") && isUbuntu2404OrLater();
41+
return version.after("0.0.0") && version.onOrBefore("8.10.4") && isUbuntu2404OrLater();
4242
}
4343

4444
private static boolean isUbuntu2404OrLater() {

0 commit comments

Comments
 (0)