|
Duplicate :
|
Compiler crashes with java.lang.NullPointerException.
@FunctionalInterface
interface Baz extends Foo<Integer, Integer> {}
interface Foo<T, N extends Number> {
void m(T arg);
void m(N arg);
}
Works fine without @FunctionalInterface.
JCK test that fails: lang/LMBD/lmbd045/lmbd04501md/lmbd04501md.html
|