[security-dev 00148]: hg: jdk7/jsn/langtools: 12 new changesets

bradford.wetmore at sun.com bradford.wetmore at sun.com
Thu Apr 17 17:08:34 PDT 2008

Changeset: 6e4cefcce80a
Author:    mcimadamore
Date:      2008-04-02 11:20 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/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/jsn/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/jsn/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/jsn/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: 961ae2608114
Author:    mcimadamore
Date:      2008-04-09 13:19 +0100
URL:       http://hg.openjdk.java.net/jdk7/jsn/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/jsn/langtools/rev/d032d5090fd5

5009937: hiding versus generics versus binary compatibility
Summary: missing implementation of JLS (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/jsn/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/jsn/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/jsn/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/jsn/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/jsn/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/jsn/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 security-dev mailing list