mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00

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