mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 17:39:46 +00:00
Add compatibility enum for Java 9 even though we don't support it yet
This commit is contained in:
1 parent
a05e7347a5
commit
b08f87e202
1 file changed
+15
@@ -642,8 +642,23 @@ public final class MixinEnvironment implements ITokenProvider {
|
||||
return JavaVersion.current() >= 1.8;
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Java 9 and above
|
||||
*/
|
||||
JAVA_9(9, CompatibilityLevel.CLASS_V1_9, true) {
|
||||
|
||||
@Override
|
||||
boolean isSupported() {
|
||||
return false;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// Temp, until ASM supports Java 9
|
||||
private static final int CLASS_V1_9 = 0 << 16 | 53;
|
||||
|
||||
private final int ver;
|
||||
|
||||
private final int classVersion;
|
||||
|
||||
Reference in new issue
Block a user