mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00

Javac should check that types annotated with @FunctionalInterface are indeed functional interfaces Reviewed-by: jjg
2 lines
124 B
Text
2 lines
124 B
Text
InvalidExpression5.java:12:20: compiler.err.prob.found.req: (compiler.misc.not.a.functional.intf: java.lang.Object)
|
|
1 error
|