[security-dev 00257]: hg: jdk7/jsn/langtools: 7 new changesets

bradford.wetmore at sun.com bradford.wetmore at sun.com
Tue Jul 29 16:52:00 PDT 2008


Changeset: 866db3b5e7b2
Author:    jjg
Date:      2008-07-23 19:55 -0700
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/866db3b5e7b2

6726015: JavaCompiler: replace desugarLater by compileStates
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! test/tools/javac/6199662/Tree.java

Changeset: 77dba8b57346
Author:    mcimadamore
Date:      2008-07-24 10:35 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/77dba8b57346

6651719: Compiler crashes possibly during forward reference of TypeParameter
Summary: compiler should apply capture conversion when checking for bound conformance
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
- test/tools/javac/capture/Capture4.java
+ test/tools/javac/generics/wildcards/6651719/T6651719a.java
+ test/tools/javac/generics/wildcards/6651719/T6651719b.java

Changeset: 36df13bde238
Author:    mcimadamore
Date:      2008-07-24 11:12 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/36df13bde238

6594284: NPE thrown when calling a method on an intersection type
Summary: javac should report an error when the capture of an actual type parameter does not exist
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/capture/T6594284.java

Changeset: 5c9cdeb740f2
Author:    mcimadamore
Date:      2008-07-24 19:06 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/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

Changeset: 8973372aedf8
Author:    mcimadamore
Date:      2008-07-25 12:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/8973372aedf8

6500701: Enhanced for loop with generics generates faulty bytecode
Summary: Lower is too strict when translating enhanced causing CCE to be thrown at runtime
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/foreach/T6500701.java

Changeset: dc4744d13247
Author:    mcimadamore
Date:      2008-07-25 12:22 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/dc4744d13247

6675483: Javac rejects multiple type-variable bound declarations starting with an enum type
Summary: Intersection types bounded by an enum are erroeously considered harmful by javac
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/enum/T6675483.java

Changeset: 37470f5ea179
Author:    mcimadamore
Date:      2008-07-28 10:22 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/37470f5ea179

6720185: DiagnosticFormatter refactoring
Summary: Brand new hierarchy of diagnostic formatters for achieving better reusability
Reviewed-by: jjg

+ src/share/classes/com/sun/tools/javac/api/DiagnosticFormatter.java
+ src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
+ src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
- src/share/classes/com/sun/tools/javac/util/DiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/share/classes/com/sun/tools/javac/util/Log.java
+ src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java




More information about the security-dev mailing list