<Swing Dev> hg: jdk7/swing/langtools: 29 new changesets

mikhail.lapshin at sun.com mikhail.lapshin at sun.com
Wed Apr 30 15:11:09 UTC 2008


Changeset: 3c2d13c42e0a
Author:    mcimadamore
Date:      2008-03-03 16:03 +0000
URL:       http://hg.openjdk.java.net/jdk7/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/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/swing/langtools/rev/c46d25a2350a

Merge


Changeset: 3c41acaad702
Author:    xdono
Date:      2008-04-24 12:12 -0700
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/3c41acaad702

Added tag jdk7-b26 for changeset c46d25a2350a

! .hgtags

Changeset: 961ae2608114
Author:    mcimadamore
Date:      2008-04-09 13:19 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/961ae2608114

6531075: Missing synthetic casts when accessing fields/methods of intersection types including type variables
Summary: bug when javac generates code involving intersection types
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/generics/6531075/T6531075.java

Changeset: d032d5090fd5
Author:    mcimadamore
Date:      2008-04-09 13:41 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/d032d5090fd5

5009937: hiding versus generics versus binary compatibility
Summary: missing implementation of JLS 8.4.8.3 (different arguments with same erasure not always triggering a compiler error)
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/5009937/T5009937.java
+ test/tools/javac/generics/5009937/T5009937.out
! test/tools/javac/generics/InheritanceConflict.java
! test/tools/javac/generics/InheritanceConflict2.java

Changeset: 57ba4f70f0d8
Author:    mcimadamore
Date:      2008-04-09 13:53 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/57ba4f70f0d8

6365166: javac (generic) unable to resolve methods
Summary: Unignore regression test as this bug has been fixed by CR 6278587
Reviewed-by: jjg

+ test/tools/javac/generics/inference/6356673/T6365166.java

Changeset: 25338c55e458
Author:    mcimadamore
Date:      2008-04-09 14:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/25338c55e458

6481655: Parser confused by combination of parens and explicit type args
Summary: Bug in the parser caused by the fact that explicit type arguments are disabled when parsing parenthesized expressions
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/parser/Parser.java
+ test/tools/javac/generics/T6481655.java

Changeset: 447c300a24e7
Author:    mcimadamore
Date:      2008-04-09 14:45 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/447c300a24e7

6450290: Capture of nested wildcards causes type error
Summary: A missing capture conversion makes javac to think that some expressions are well-formed even when they aren't
Reviewed-by: jjg

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

Changeset: e7bf2e39b8fe
Author:    mcimadamore
Date:      2008-04-09 14:57 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/e7bf2e39b8fe

6657499: javac 1.6.0 fails to compile class with inner class
Summary: Lookup of member inner classes silently fails leading to an unwanted erasure to take place
Reviewed-by: jjg

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

Changeset: 6522ea413d23
Author:    mcimadamore
Date:      2008-04-09 15:04 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/6522ea413d23

6683438: Bad regression test for CR 6611449
Summary: The regression test for CR 6611449 contains some inconstistencies
Reviewed-by: jjg

! test/tools/javac/generics/inference/6611449/T6611449.java
! test/tools/javac/generics/inference/6611449/T6611449.out

Changeset: a1d1f335633f
Author:    mcimadamore
Date:      2008-04-09 15:30 +0100
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/a1d1f335633f

6559182: Cast from a raw type with non-generic supertype to a raw type fails unexpectedly
Summary: Javac doesn't conform to JLS 4.8 - all the supertypes of a raw type must be erased
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/Casting5.java

Changeset: 627deea1ea4f
Author:    tbell
Date:      2008-04-15 17:48 -0700
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/627deea1ea4f

Merge


Changeset: eb4c60ad2fa2
Author:    tbell
Date:      2008-04-25 15:22 -0700
URL:       http://hg.openjdk.java.net/jdk7/swing/langtools/rev/eb4c60ad2fa2

Merge





More information about the swing-dev mailing list