-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: tools
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
@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
- duplicates
-
JDK-8007933 Functional Interface case from lambda spec crashes javac
-
- Closed
-