hg: jdk7/hotspot-comp/langtools: 23 new changesets

john.coomes at sun.com john.coomes at sun.com
Tue Aug 19 18:38:51 PDT 2008


Changeset: 4af43632966c
Author:    xdono
Date:      2008-08-04 13:45 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/4af43632966c

Added tag jdk7-b32 for changeset 13aee98cc0d8

! .hgtags

Changeset: 866db3b5e7b2
Author:    jjg
Date:      2008-07-23 19:55 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/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/hotspot-comp/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/hotspot-comp/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/hotspot-comp/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/hotspot-comp/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/hotspot-comp/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/hotspot-comp/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

Changeset: 0a5f04fb7282
Author:    tbell
Date:      2008-08-07 09:45 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/0a5f04fb7282

Merge


Changeset: 1c4a97a661b9
Author:    xdono
Date:      2008-08-14 09:26 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/1c4a97a661b9

Added tag jdk7-b33 for changeset 0a5f04fb7282

! .hgtags

Changeset: 3437676858e3
Author:    jjg
Date:      2008-08-01 15:23 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/3437676858e3

6627362: javac generates code that uses array.clone, which is not available on JavaCard
6627364: javac needs Float and Double on the bootclasspath even when not directly used
6627366: javac needs Cloneable and Serializable on the classpath even when not directly used
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! test/tools/javac/5045412/Bar.java
! test/tools/javac/5045412/Foo.java
- test/tools/javac/5045412/out
+ test/tools/javac/6627362/T6627362.java
+ test/tools/javac/6627362/x/E.java
+ test/tools/javac/6627362/x/Object.java
+ test/tools/javac/synthesize/Boolean.java
+ test/tools/javac/synthesize/Byte.java
+ test/tools/javac/synthesize/Character.java
+ test/tools/javac/synthesize/Cloneable.java
+ test/tools/javac/synthesize/Double.java
+ test/tools/javac/synthesize/Float.java
+ test/tools/javac/synthesize/Integer.java
+ test/tools/javac/synthesize/Long.java
+ test/tools/javac/synthesize/Main.java
+ test/tools/javac/synthesize/Number.java
+ test/tools/javac/synthesize/Object.java
+ test/tools/javac/synthesize/Serializable.java
+ test/tools/javac/synthesize/Short.java
+ test/tools/javac/synthesize/Test.java
+ test/tools/javac/synthesize/Void.java

Changeset: fd1d361ae294
Author:    jjg
Date:      2008-08-04 15:09 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/fd1d361ae294

4111861: static final field contents are not displayed
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/javap/ClassWriter.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
! src/share/classes/com/sun/tools/javap/Options.java
! src/share/classes/com/sun/tools/javap/resources/javap.properties
+ test/tools/javap/4111861/A.java
+ test/tools/javap/4111861/T4111861.java

Changeset: 05684554f040
Author:    jjg
Date:      2008-08-04 17:54 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/05684554f040

4884240: additional option required for javap
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/javap/ClassWriter.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
! src/share/classes/com/sun/tools/javap/Options.java
! src/share/classes/com/sun/tools/javap/resources/javap.properties
+ test/tools/javap/T4884240.java
! test/tools/javap/T6622260.java

Changeset: b6d5f53b3b29
Author:    mcimadamore
Date:      2008-08-05 12:54 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/b6d5f53b3b29

6730423: Diagnostic formatter should be an instance field of JCDiagnostic
Summary: JCDiagnostic.fragment should be deprecated and the diagnostic factory should be used instead
Reviewed-by: jjg

! 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/Infer.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/util/JCDiagnostic.java

Changeset: 6be961ee2290
Author:    jjg
Date:      2008-08-05 17:07 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/6be961ee2290

6733995: legal notice repair on langtools/src/share/classes/com/sun/tools/javap/JavapTask.java
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/javap/JavapTask.java

Changeset: 7ec8d871eb8c
Author:    tbell
Date:      2008-08-07 18:03 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/7ec8d871eb8c

Merge

- test/tools/javac/5045412/out

Changeset: d635feaf3747
Author:    mcimadamore
Date:      2008-08-08 15:16 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/d635feaf3747

6695838: javac does not detect cyclic inheritance involving static inner classes after import clause
Summary: Javac fails to detect some errors due to the order in which a class' static imports are entered
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/staticImport/6695838/T6695838.java
+ test/tools/javac/staticImport/6695838/a/Foo.java
+ test/tools/javac/staticImport/6695838/a/FooInterface.java

Changeset: 30a415f8667f
Author:    mcimadamore
Date:      2008-08-08 17:38 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/30a415f8667f

6718364: inference fails when a generic method is invoked with raw arguments
Summary: Bug in the implementation of Types.isSubtypeUnchecked
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/inference/6718364/T6718364.java
+ test/tools/javac/generics/inference/6718364/T6718364.out

Changeset: 6542933af8f4
Author:    mcimadamore
Date:      2008-08-08 17:43 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/6542933af8f4

6676362: Spurious forward reference error with final var + instance variable initializer
Summary: Some javac forward reference errors aren't compliant with the JLS
Reviewed-by: jjg

! 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/AttrContext.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/ForwardReference/T6676362a.java
+ test/tools/javac/ForwardReference/T6676362b.java
! test/tools/javac/enum/forwardRef/T6425594.out

Changeset: fac6b1beaa5a
Author:    mcimadamore
Date:      2008-08-08 17:48 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/fac6b1beaa5a

6734819: Javac performs flows analysis on already translated classes
Summary: Regression in JavaCompiler.desugar introduced in 6726015
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/6734819/T6734819a.java
+ test/tools/javac/6734819/T6734819a.out
+ test/tools/javac/6734819/T6734819b.java
+ test/tools/javac/6734819/T6734819b.out
+ test/tools/javac/6734819/T6734819c.java
+ test/tools/javac/6734819/T6734819c.out

Changeset: 938a80a47670
Author:    mcimadamore
Date:      2008-08-08 17:52 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/938a80a47670

6732461: broken message file for annotation processing
Summary: Regression in sqe test introduced in 6720185
Reviewed-by: jjg

! src/share/classes/com/sun/tools/apt/util/Bark.java

Changeset: eefde0421566
Author:    tbell
Date:      2008-08-10 18:36 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/eefde0421566

Merge


Changeset: 4026dece07e8
Author:    tbell
Date:      2008-08-14 22:17 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/4026dece07e8

Merge





More information about the hotspot-compiler-dev mailing list