From 1be05a214630d6e7794d71ab48c698a44f95791c Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 17 Mar 2019 12:53:55 +1100 Subject: [PATCH] Prepare for imminent Java 12 release --- src/main/java/org/bukkit/craftbukkit/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index dfc34b4fdf..0a1f617944 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -148,8 +148,8 @@ public class Main { } float javaVersion = Float.parseFloat(System.getProperty("java.class.version")); - if (javaVersion > 55.0) { - System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 11 is supported."); + if (javaVersion > 56.0) { + System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 12 is supported."); return; }