Skip to content
Permalink
Browse files

Fix startup on Java 9+ again

  • Loading branch information...
PseudoKnight committed Sep 23, 2019
1 parent 0563305 commit 1e08b46cdd47863ca5d1667db9076576c2596f69
@@ -38,7 +38,7 @@
/**
* The original URL that houses this class.
*/
private final URL originalURL;
private URL originalURL; // reflectively modified in ClassDiscoveryURLCache

protected ClassMirror(ClassInfo<T> info, URL originalURL) {
this.underlyingClass = null;
@@ -294,9 +294,6 @@ public void run() {
if(javaVersion.lt(new SimpleVersion("1.8"))) {
MSLog.GetLogger().e(MSLog.Tags.GENERAL, "CommandHelper does not support Java versions older than 8!",
Target.UNKNOWN);
} else if(javaVersion.gt(new SimpleVersion("1.8"))) {
Static.getLogger().log(Level.WARNING, "CommandHelper only officially supports Java 8 at this time."
+ " Specific features may break. (eg. secure strings)");
}

myServer = BukkitMCServer.Get();

0 comments on commit 1e08b46

Please sign in to comment.
You can’t perform that action at this time.