hg: jdk7/tl/langtools: 6668794: javac puts localized text in raw diagnostics; ...

jonathan.gibbons at sun.com jonathan.gibbons at sun.com
Wed Mar 12 13:05:32 PDT 2008


Changeset: 7366066839bb
Author:    jjg
Date:      2008-03-12 13:06 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/7366066839bb

6668794: javac puts localized text in raw diagnostics
6668796: bad diagnostic "bad class file" given for source files
Summary: Replace internal use of localized text with JCDiagnostic fragments; fix diagnostic for bad source file
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/6668794/badClass/A.java
+ test/tools/javac/6668794/badClass/B.java
+ test/tools/javac/6668794/badClass/Test.java
+ test/tools/javac/6668794/badSource/Test.java
+ test/tools/javac/6668794/badSource/Test.out
+ test/tools/javac/6668794/badSource/p/A.java




More information about the serviceability-dev mailing list