test/langtools/tools/javac/lambda/MethodReference22.out
author mcimadamore
Thu, 05 Oct 2017 18:29:47 +0100
changeset 47316 1129253d3bc7
parent 47216 71c04702a3d5
permissions -rw-r--r--
8172443: Change use of tree.pos to line:col in rawDiagnostics Summary: Generate more stable raw diagnostic position for functional expression AST diag arguments Reviewed-by: jjg, 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)))
47316
1129253d3bc7 8172443: Change use of tree.pos to line:col in rawDiagnostics
mcimadamore
parents: 47216
diff changeset
     2
MethodReference22.java:41:9: compiler.err.cant.apply.symbol: kindname.method, call1, MethodReference22.SAM1, @15, kindname.class, MethodReference22, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.bad.instance.method.in.unbound.lookup: kindname.method, m1(java.lang.String)))
28456
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)))
47316
1129253d3bc7 8172443: Change use of tree.pos to line:col in rawDiagnostics
mcimadamore
parents: 47216
diff changeset
     4
MethodReference22.java:47:9: compiler.err.cant.apply.symbol: kindname.method, call1, MethodReference22.SAM1, @15, kindname.class, MethodReference22, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.bad.instance.method.in.unbound.lookup: kindname.method, m4(java.lang.String)))
28456
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))
47316
1129253d3bc7 8172443: Change use of tree.pos to line:col in rawDiagnostics
mcimadamore
parents: 47216
diff changeset
     6
MethodReference22.java:56:9: compiler.err.cant.apply.symbol: kindname.method, call2, MethodReference22.SAM2, @15, 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))
47316
1129253d3bc7 8172443: Change use of tree.pos to line:col in rawDiagnostics
mcimadamore
parents: 47216
diff changeset
     8
MethodReference22.java:58:14: compiler.err.cant.apply.symbol: kindname.method, call2, MethodReference22.SAM2, @15, 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
47316
1129253d3bc7 8172443: Change use of tree.pos to line:col in rawDiagnostics
mcimadamore
parents: 47216
diff changeset
    10
MethodReference22.java:65:14: compiler.err.cant.apply.symbol: kindname.method, call3, MethodReference22.SAM2, @15, 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)))
21718
74a5882faf79 8026231: Look at 'static' flag when checking method references
vromero
parents: 19914
diff changeset
    11
10 errors