hg: jdk7/tl/langtools: 2 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Feb 28 03:52:48 PST 2011

Changeset: 9286a5d1fae3
Author:    mcimadamore
Date:      2011-02-28 11:48 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/9286a5d1fae3

7015430: Incorrect thrown type determined for unchecked invocations
Summary: Thrown types do not get updated after, and do not get erased as per
Reviewed-by: jjg, dlsmith

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/7015430/T7015430.java
+ test/tools/javac/generics/7015430/T7015430.out

Changeset: 9f9df9684cfc
Author:    mcimadamore
Date:      2011-02-28 11:50 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/9f9df9684cfc

7015715: lub gets stuck on type with complex supertype
Summary: lub should not scan supertypes unnecessarily
Reviewed-by: jjg, dlsmith

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

More information about the compiler-dev mailing list