mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00

Javac should check that types annotated with @FunctionalInterface are indeed functional interfaces Reviewed-by: jjg
2 lines
163 B
Text
2 lines
163 B
Text
NonSAM1.java:11:20: compiler.err.prob.found.req: (compiler.misc.not.a.functional.intf.1: Planet, (compiler.misc.no.abstracts: kindname.interface, Planet))
|
|
1 error
|