test/langtools/tools/javac/lambda/MethodReference42.out
author mcimadamore
Thu, 05 Oct 2017 18:29:47 +0100
changeset 47316 1129253d3bc7
parent 47216 71c04702a3d5
child 49872 0798eab12791
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

MethodReference42.java:38:11: compiler.err.cant.apply.symbol: kindname.method, m1, MethodReference42.SAM1, @12, kindname.class, MethodReference42, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.incompatible.eq.upper.bounds: X, java.lang.String, java.lang.Number)))
MethodReference42.java:40:11: compiler.err.cant.apply.symbol: kindname.method, m3, MethodReference42.SAM3, @12, kindname.class, MethodReference42, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.incompatible.eq.upper.bounds: X, java.lang.Object, java.lang.Number)))
MethodReference42.java:41:9: compiler.err.ref.ambiguous: m4, kindname.method, m4(MethodReference42.SAM2), MethodReference42, kindname.method, m4(MethodReference42.SAM3), MethodReference42
3 errors