test/tools/javac/lambda/LambdaConv21.out

Thu, 25 Jul 2013 14:51:40 +0100

author
mcimadamore
date
Thu, 25 Jul 2013 14:51:40 +0100
changeset 1921
dae52d74c1fc
parent 1433
4f9853659bf1
child 2525
2eb010b6cb22
permissions
-rw-r--r--

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

mcimadamore@1415 1 LambdaConv21.java:25:43: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.inconvertible.types: void, java.lang.Void))
mcimadamore@1415 2 LambdaConv21.java:32:33: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.missing.ret.val: java.lang.Void))
mcimadamore@1415 3 LambdaConv21.java:33:53: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.unexpected.ret.val))
mcimadamore@1415 4 LambdaConv21.java:36:33: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.missing.ret.val: java.lang.Void))
mcimadamore@1433 5 4 errors

mercurial