jdk-24/langtools/test/tools/javac/diags/DiagnosticRewriterTest2.out
Srikanth Adayapalam 63f6ba5960 8145466: javac: No line numbers in compilation error
Compiler should not use the syntax tree from enclosing contexts in diagnostics even when the enclosing contexts are consulted for method lookup.

Reviewed-by: mcimadamore
2015-12-22 16:37:52 +05:30

5 lines
354 B
Plaintext

DiagnosticRewriterTest2.java:15:15: compiler.err.prob.found.req: (compiler.misc.possible.loss.of.precision: long, int)
DiagnosticRewriterTest2.java:16:13: compiler.err.cant.apply.symbol: kindname.method, m, int, compiler.misc.no.args, kindname.class, DiagnosticRewriterTest2, (compiler.misc.arg.length.mismatch)
- compiler.note.compressed.diags
2 errors