test/tools/javac/diags/DiagnosticRewriterTest2.out

Thu, 07 Jan 2016 08:45:19 +0000

author
sadayapalam
date
Thu, 07 Jan 2016 08:45:19 +0000
changeset 3005
0353cf89ea96
permissions
-rw-r--r--

8145466: javac: No line numbers in compilation error
Summary: 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

     1 DiagnosticRewriterTest2.java:15:15: compiler.err.prob.found.req: (compiler.misc.possible.loss.of.precision: long, int)
     2 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)
     3 - compiler.note.compressed.diags
     4 2 errors

mercurial