hg: jdk7/tl/langtools: 6717241: some diagnostic argument is prematurely converted into a String object

maurizio.cimadamore at sun.com maurizio.cimadamore at sun.com
Thu Jul 24 11:08:45 PDT 2008


Changeset: 5c9cdeb740f2
Author:    mcimadamore
Date:      2008-07-24 19:06 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/5c9cdeb740f2

6717241: some diagnostic argument is prematurely converted into a String object
Summary: removed early toString() conversions applied to diagnostic arguments
Reviewed-by: jjg

+ src/share/classes/com/sun/tools/javac/api/Formattable.java
! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/code/Kinds.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/parser/Keywords.java
! src/share/classes/com/sun/tools/javac/parser/Parser.java
! src/share/classes/com/sun/tools/javac/parser/Token.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/DiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! test/tools/javac/5045412/out
! test/tools/javac/6330920/T6330920.out
+ test/tools/javac/6717241/T6717241a.java
+ test/tools/javac/6717241/T6717241a.out
+ test/tools/javac/6717241/T6717241b.java
+ test/tools/javac/6717241/T6717241b.out
! test/tools/javac/ExtendsAccess/ExtendsAccess.out
! test/tools/javac/NonStaticFieldExpr1.out
! test/tools/javac/NonStaticFieldExpr2.out
! test/tools/javac/NonStaticFieldExpr3.out
! test/tools/javac/T6247324.out
! test/tools/javac/annotations/6365854/test1.out
! test/tools/javac/generics/inference/6611449/T6611449.out
! test/tools/javac/policy/byfile.ABD.out
! test/tools/javac/policy/bytodo.ABD.out
! test/tools/javac/policy/simple.ABD.out




More information about the serviceability-dev mailing list