Thu, 25 Jul 2013 14:51:40 +0100
8020843: javac crashes on accessibility check with method reference with typevar receiver
Summary: method reference overload check doesn't walk through type-variable receivers
Reviewed-by: jjg
1 BadLambdaPos.java:18:14: compiler.err.unexpected.lambda
2 BadLambdaPos.java:18:30: compiler.err.unexpected.lambda
3 BadLambdaPos.java:19:14: compiler.err.unexpected.lambda
4 BadLambdaPos.java:23:18: compiler.err.unexpected.lambda
5 BadLambdaPos.java:23:34: compiler.err.unexpected.lambda
6 BadLambdaPos.java:24:21: compiler.err.unexpected.lambda
7 BadLambdaPos.java:28:22: compiler.err.prob.found.req: (compiler.misc.not.a.functional.intf: java.lang.Object)
8 BadLambdaPos.java:29:28: compiler.err.prob.found.req: (compiler.misc.not.a.functional.intf: java.lang.Object)
9 8 errors