jdk-24/langtools/test/tools/javac/lambda/BadLambdaPos.out
Maurizio Cimadamore 3b3feb3853 8005299: Add FunctionalInterface checking to javac
Javac should check that types annotated with @FunctionalInterface are indeed functional interfaces

Reviewed-by: jjg
2013-01-16 16:30:11 +00:00

10 lines
565 B
Plaintext

BadLambdaPos.java:18:14: compiler.err.unexpected.lambda
BadLambdaPos.java:18:30: compiler.err.unexpected.lambda
BadLambdaPos.java:19:14: compiler.err.unexpected.lambda
BadLambdaPos.java:23:18: compiler.err.unexpected.lambda
BadLambdaPos.java:23:34: compiler.err.unexpected.lambda
BadLambdaPos.java:24:21: compiler.err.unexpected.lambda
BadLambdaPos.java:28:22: compiler.err.prob.found.req: (compiler.misc.not.a.functional.intf: java.lang.Object)
BadLambdaPos.java:29:28: compiler.err.prob.found.req: (compiler.misc.not.a.functional.intf: java.lang.Object)
8 errors