hg: jdk7/tl/langtools: 2 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Dec 3 08:34:14 PST 2010


Changeset: 9359f4222545
Author:    mcimadamore
Date:      2010-12-03 16:31 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/9359f4222545

6956758: NPE in com.sun.tools.javac.code.Symbol - isSubClass
Summary: Use of TransTypes.cast() instead of TransTypes.coerce() causes NPE in Lower
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/generics/6956758/T6956758neg.java
+ test/tools/javac/generics/6956758/T6956758neg.out
+ test/tools/javac/generics/6956758/T6956758pos.java

Changeset: aa6605d883dc
Author:    mcimadamore
Date:      2010-12-03 16:32 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/aa6605d883dc

7002837: Diamond: javac generates diamond inference errors when in 'finder' mode
Summary: Javac should disable error messages when analyzing instance creation expression in 'diamond finder' mode
Reviewed-by: jjg

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




More information about the compiler-dev mailing list