langtools/test/tools/javac/lambda/MethodReference22.out
author mcimadamore
Thu, 15 Jan 2015 13:58:11 +0000
changeset 28456 b87fdde1404d
parent 21718 74a5882faf79
permissions -rw-r--r--
8068995: Cleanup method reference lookup code Summary: Simplify method reference code lookup and generate better/more uniform diagnostics Reviewed-by: vromero
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28456
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 21718
diff changeset
     1
MethodReference22.java:40:19: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.bad.instance.method.in.unbound.lookup: kindname.method, m1(java.lang.String)))
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 21718
diff changeset
     2
MethodReference22.java:41:9: compiler.err.cant.apply.symbol: kindname.method, call1, MethodReference22.SAM1, @999, kindname.class, MethodReference22, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.bad.instance.method.in.unbound.lookup: kindname.method, m1(java.lang.String)))
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 21718
diff changeset
     3
MethodReference22.java:46:19: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.bad.instance.method.in.unbound.lookup: kindname.method, m4(java.lang.String)))
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 21718
diff changeset
     4
MethodReference22.java:47:9: compiler.err.cant.apply.symbol: kindname.method, call1, MethodReference22.SAM1, @1270, kindname.class, MethodReference22, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.bad.instance.method.in.unbound.lookup: kindname.method, m4(java.lang.String)))
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 21718
diff changeset
     5
MethodReference22.java:55:19: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.ref.ambiguous: m3, kindname.method, m3(MethodReference22,java.lang.String), MethodReference22, kindname.method, m3(java.lang.String), MethodReference22))
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 21718
diff changeset
     6
MethodReference22.java:56:9: compiler.err.cant.apply.symbol: kindname.method, call2, MethodReference22.SAM2, @1574, kindname.class, MethodReference22, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.bad.instance.method.in.unbound.lookup: kindname.method, m3(MethodReference22,java.lang.String)))
14547
86d8d242b0c4 8003280: Add lambda tests
mcimadamore
parents:
diff changeset
     7
MethodReference22.java:57:19: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.ref.ambiguous: m4, kindname.method, m4(MethodReference22,java.lang.String), MethodReference22, kindname.method, m4(java.lang.String), MethodReference22))
21718
74a5882faf79 8026231: Look at 'static' flag when checking method references
vromero
parents: 19914
diff changeset
     8
MethodReference22.java:58:14: compiler.err.cant.apply.symbol: kindname.method, call2, MethodReference22.SAM2, @1667, kindname.class, MethodReference22, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.ref.ambiguous: m4, kindname.method, m4(MethodReference22,java.lang.String), MethodReference22, kindname.method, m4(java.lang.String), MethodReference22)))
19914
d86271bd430a 8016177: structural most specific and stuckness
vromero
parents: 16323
diff changeset
     9
MethodReference22.java:63:9: compiler.err.ref.ambiguous: call3, kindname.method, call3(MethodReference22.SAM1), MethodReference22, kindname.method, call3(MethodReference22.SAM2), MethodReference22
21718
74a5882faf79 8026231: Look at 'static' flag when checking method references
vromero
parents: 19914
diff changeset
    10
MethodReference22.java:65:14: compiler.err.cant.apply.symbol: kindname.method, call3, MethodReference22.SAM2, @1881, kindname.class, MethodReference22, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.ref.ambiguous: m4, kindname.method, m4(MethodReference22,java.lang.String), MethodReference22, kindname.method, m4(java.lang.String), MethodReference22)))
74a5882faf79 8026231: Look at 'static' flag when checking method references
vromero
parents: 19914
diff changeset
    11
10 errors