Allow changing of lambda SAM types (alter method descriptor)
This is currently the 'slow' implementation and actually slows down invokeinterface too - need to get the fast version done...
This commit is contained in:
@@ -362,4 +362,16 @@ public class GlobalConfiguration {
|
||||
}
|
||||
debugplugins = debugPlugins;
|
||||
}
|
||||
|
||||
public final static boolean isJava18orHigher;
|
||||
|
||||
static {
|
||||
String version = System.getProperty("java.version");
|
||||
if (version.startsWith("1.8")) {
|
||||
isJava18orHigher = true;
|
||||
}
|
||||
else {
|
||||
isJava18orHigher = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user