13
0
geforkt von Mirrors/Paper

Prepare for imminent Java 12 release

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2019-03-17 12:53:55 +11:00
Ursprung dcc541a4a0
Commit f600caaf6a

Datei anzeigen

@ -148,8 +148,8 @@ public class Main {
} }
float javaVersion = Float.parseFloat(System.getProperty("java.class.version")); float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
if (javaVersion > 55.0) { if (javaVersion > 56.0) {
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 11 is supported."); System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 12 is supported.");
return; return;
} }