hg: jdk7/tl/langtools: 4 new changesets

maurizio.cimadamore at sun.com maurizio.cimadamore at sun.com
Wed Apr 9 07:33:19 PDT 2008

Changeset: 447c300a24e7
Author:    mcimadamore
Date:      2008-04-09 14:45 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/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/tl/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/tl/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/tl/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

More information about the compiler-dev mailing list