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:
Andy Clement
2014-02-21 09:15:27 -08:00
parent e400e2da63
commit ad6a825688
9 changed files with 147 additions and 2 deletions

View File

@@ -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;
}
}
}