hg: jdk8u/jdk8u-dev/langtools: 8145466: javac: No line numbers in	compilation error
    sean.coffey at oracle.com 
    sean.coffey at oracle.com
       
    Thu Jan  7 09:16:33 UTC 2016
    
    
  
Changeset: 0353cf89ea96
Author:    sadayapalam
Date:      2016-01-07 08:45 +0000
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/0353cf89ea96
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
! src/share/classes/com/sun/tools/javac/comp/AttrContext.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/diags/DiagnosticRewriterTest.java
+ test/tools/javac/diags/DiagnosticRewriterTest.out
+ test/tools/javac/diags/DiagnosticRewriterTest2.java
+ test/tools/javac/diags/DiagnosticRewriterTest2.out
    
    
More information about the jdk8u-dev-changes
mailing list