hg: jdk7/tl/langtools: 4 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed May 19 08:48:08 PDT 2010


Changeset: e9ef849ae0ed
Author:    mcimadamore
Date:      2010-05-19 16:41 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/e9ef849ae0ed

6880344: Recursive type parameters do not compile
Summary: Issue in type-variable substitution causes valid code to be rejected
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/typevars/T6880344.java

Changeset: 2881b376a689
Author:    mcimadamore
Date:      2010-05-19 16:42 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/2881b376a689

6946618: sqe test fails: javac/generics/NewOnTypeParm  in pit jdk7 b91 in all platforms.
Summary: Bad cast to ClassType in the new diamond implementation fails if the target type of the instance creation expression is a type-variable
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/6946618/T6946618a.java
+ test/tools/javac/generics/6946618/T6946618a.out
+ test/tools/javac/generics/6946618/T6946618b.java
+ test/tools/javac/generics/6946618/T6946618b.out
+ test/tools/javac/generics/6946618/T6946618c.java
+ test/tools/javac/generics/6946618/T6946618c.out

Changeset: eb849389ae2c
Author:    mcimadamore
Date:      2010-05-19 16:43 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/eb849389ae2c

6948381: javac Null Pointer Exception in Types.makeCompoundType
Summary: Race condition between symbol completion and attribution of import statements causes NPE when creating intersection type
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/6948381/T6948381.java
+ test/tools/javac/6948381/npe/A.java
+ test/tools/javac/6948381/npe/B.java

Changeset: 1d587ef8bf56
Author:    mcimadamore
Date:      2010-05-19 16:43 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/1d587ef8bf56

6951833: latest diamond implementation generates spurious raw type warnings
Summary: Raw warning checks should be disabled in the presence of a diamond AST node
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/diamond/T6951833.java




More information about the security-dev mailing list