mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00

Javac should check that types annotated with @FunctionalInterface are indeed functional interfaces Reviewed-by: jjg
2 lines
128 B
Text
2 lines
128 B
Text
AbstractClass_neg.java:16:17: compiler.err.prob.found.req: (compiler.misc.not.a.functional.intf: AbstractClass_neg.SAM)
|
|
1 error
|