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

chuck.rasbold at sun.com chuck.rasbold at sun.com
Tue Apr 29 11:38:14 PDT 2008


Changeset: 3c2d13c42e0a
Author:    mcimadamore
Date:      2008-03-03 16:03 +0000
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/3c2d13c42e0a

6614974: javac successfully compiles code that throws java.lang.VerifyError when run
Summary: synthetic cast missing when translating autoboxing expressions
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/boxing/T6614974.java

Changeset: b45f8d4794b7
Author:    mcimadamore
Date:      2008-03-04 12:14 +0000
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/b45f8d4794b7

6611449: Internal Error thrown during generic method/constructor invocation
Summary: type-inference should fail since lub is not defined for primitive types
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/6611449/T6611449.java
+ test/tools/javac/generics/inference/6611449/T6611449.out

Changeset: 40813968849e
Author:    mcimadamore
Date:      2008-03-04 13:00 +0000
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/40813968849e

6660289: declared bound in inner class referring a type variable of the outer class
Summary: NPE caused by a defect in type-variable attribution
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/T6660289.java

Changeset: d472e2fbcc39
Author:    mcimadamore
Date:      2008-03-04 15:19 +0000
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/d472e2fbcc39

6608214: Exception throw while analysing a file with error
Summary: bad error-recovery after bad type-variable bound is detected
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/api/6608214/T6608214.java

Changeset: 38bd6375f37d
Author:    mcimadamore
Date:      2008-03-04 15:45 +0000
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/38bd6375f37d

6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
Summary: interplay between cyclic inheritance and tvar bounds hangs javac
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/T6663588.java

Changeset: f09d6a3521b1
Author:    jjg
Date:      2008-03-06 10:07 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/f09d6a3521b1

4741726: allow Object += String
Summary: remove code in line with restriction removed from JLS
Reviewed-by: mcimadamore
Contributed-by: michaelbailey0 at gmail.com

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/StringConversion2.java
- test/tools/javac/expression/ObjectAppend.java

Changeset: 508c01999047
Author:    jjg
Date:      2008-03-06 10:25 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/508c01999047

6668802: javac handles diagnostics for last line badly, if line not terminated by newline
Summary: use CharBuffer.limit(), not the length of the backing array
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/util/Log.java
+ test/tools/javac/T6668802.java

Changeset: b66d15dfd001
Author:    jjg
Date:      2008-03-11 13:14 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/b66d15dfd001

6307187: clean up code for -Xlint:options
Summary: introduce common code for handling one-of and any-of options
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/main/JavacOption.java
! src/share/classes/com/sun/tools/javac/main/OptionName.java
! src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java
! test/tools/javac/6341866/T6341866.java

Changeset: 7366066839bb
Author:    jjg
Date:      2008-03-12 13:06 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/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

Changeset: 6beca695cfae
Author:    jjg
Date:      2008-03-13 13:42 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/6beca695cfae

6559315: Inconsistent non-standard Sun copyright in src/share/opensource/javac/doc/document.css
Summary: Remove obsolete files
Reviewed-by: mcimadamore

- src/share/opensource/javac/Makefile
- src/share/opensource/javac/README-template.html
- src/share/opensource/javac/build.properties
- src/share/opensource/javac/build.xml
- src/share/opensource/javac/doc/document.css
- src/share/opensource/javac/doc/javac_lifecycle/Context.html
- src/share/opensource/javac/doc/javac_lifecycle/Enter.html
- src/share/opensource/javac/doc/javac_lifecycle/JavaCompiler.html
- src/share/opensource/javac/doc/javac_lifecycle/Main.html
- src/share/opensource/javac/doc/javac_lifecycle/ToDo.html
- src/share/opensource/javac/doc/javac_lifecycle/contents.html
- src/share/opensource/javac/doc/javac_lifecycle/index.html
- src/share/opensource/javac/doc/javac_lifecycle/packages.html
- src/share/opensource/javac/doc/javac_lifecycle/style.css
- src/share/opensource/javac/nbproject/project.xml
- src/share/opensource/javac/src/bin/javac.sh

Changeset: 58039502942e
Author:    jjg
Date:      2008-03-14 16:09 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/58039502942e

6638501: Regression with Javac in JDK6 U4 b03?
Summary: replace some String paths with File paths in Paths.java
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/javac/util/Paths.java
+ test/tools/javac/Paths/6638501/HelloLib/test/HelloImpl.java
+ test/tools/javac/Paths/6638501/JarFromManifestFailure.java
+ test/tools/javac/Paths/6638501/WsCompileExample.java
+ test/tools/javac/Paths/6638501/test/SayHello.java
+ test/tools/javac/Paths/6638501/test1/SayHelloToo.java

Changeset: 18f0b1b5ffd6
Author:    xdono
Date:      2008-04-09 11:19 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/18f0b1b5ffd6

Added tag jdk7-b25 for changeset 58039502942e

! .hgtags

Changeset: 058bdd3ca02e
Author:    ksrini
Date:      2008-03-20 08:44 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/058bdd3ca02e

6618930: (javac) fix test after whitespace normalization
Summary: whitespace normalization left the test unusable, back to service
Reviewed-by: jjg

! test/tools/javac/6304921/T6304921.java
! test/tools/javac/6304921/T6304921.out

Changeset: 6e4cefcce80a
Author:    mcimadamore
Date:      2008-04-02 11:20 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/6e4cefcce80a

6569789: Compiler test lang/TYPE/type153/type15304/type15304.html fails since jdk7 b05
Summary: improved glb on type-inference
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/6569789/T6569789.java

Changeset: aeaa0f482b28
Author:    mcimadamore
Date:      2008-04-02 11:38 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/aeaa0f482b28

6509042: javac rejects class literals in enum constructors
Summary: javac now distinguish between enum class literals and static fields
Reviewed-by: jjg

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

Changeset: adaa3fc51b60
Author:    mcimadamore
Date:      2008-04-02 11:44 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/adaa3fc51b60

6531090: Cannot access methods/fields of a captured type belonging to an intersection type
Summary: fixed lookup of field/methods on intersection types
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/6531090/T6531090a.java
+ test/tools/javac/generics/6531090/T6531090b.java

Changeset: ddd77d1c1b49
Author:    ksrini
Date:      2008-04-03 18:01 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/ddd77d1c1b49

6570242: Regression test failures with Javac on win32.
Summary: takes this test out of service until the reall bug is fixed
Reviewed-by: jjg

! test/tools/javac/api/6431257/T6431257.java

Changeset: c46d25a2350a
Author:    tbell
Date:      2008-04-11 15:08 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/langtools/rev/c46d25a2350a

Merge





More information about the hotspot-compiler-dev mailing list