test/tools/javac/lambda/TargetType21.out

Thu, 28 Feb 2013 14:05:52 +0000

author
mcimadamore
date
Thu, 28 Feb 2013 14:05:52 +0000
changeset 1610
08782b8b03ce
parent 1510
7873d37f5b37
child 1955
ec77c7b46c37
permissions
-rw-r--r--

8008537: Missing method reference lookup error when unbound search finds a static method
Summary: Static-ness check should be applied after member reference resolution
Reviewed-by: jjg

mcimadamore@1510 1 TargetType21.java:28:9: compiler.err.ref.ambiguous: call, kindname.method, call(TargetType21.SAM2), TargetType21, kindname.method, <R,A>call(TargetType21.SAM3<R,A>), TargetType21
mcimadamore@1510 2 TargetType21.java:28:14: compiler.err.incompatible.thrown.types.in.lambda: java.lang.Exception
mcimadamore@1510 3 TargetType21.java:29:9: compiler.err.ref.ambiguous: call, kindname.method, call(TargetType21.SAM2), TargetType21, kindname.method, <R,A>call(TargetType21.SAM3<R,A>), TargetType21
mcimadamore@1510 4 TargetType21.java:30:13: compiler.err.prob.found.req: (compiler.misc.cyclic.inference: A)
mcimadamore@1510 5 TargetType21.java:31:9: compiler.err.ref.ambiguous: call, kindname.method, call(TargetType21.SAM1), TargetType21, kindname.method, <R,A>call(TargetType21.SAM3<R,A>), TargetType21
mcimadamore@1510 6 5 errors

mercurial