Blocks :
|
|
Relates :
|
Java produces the following Exception at runtime: Exception in thread "main" java.lang.ClassFormatError: Method lambda$0$bridge in class x/T has illegal modifiers: 0x1000 Testcase: package x; interface SAM { int m(); } interface SuperI { public default int foo() { return 0; } } interface I extends SuperI { } interface T extends I { public default void boo() { SAM s = I.super::foo; } } public class lmbd04804m0 { public static void main(String argv[]) { new T(){}; } }
|