-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 8, 8-repo-lambda
-
Component/s: tools
-
b82
-
Verified
This code crashes javac:
public class StaticMethods {
private interface SuperInterface {
public static Object f(Object arg) { return null; }
}
public static void main(String... args) {
Function<Object,Object> methodReference9
= SuperInterface::f; // compiler crash
}
}
public class StaticMethods {
private interface SuperInterface {
public static Object f(Object arg) { return null; }
}
public static void main(String... args) {
Function<Object,Object> methodReference9
= SuperInterface::f; // compiler crash
}
}