Changeset: 5ef88773462b
Author:    mcimadamore
Date:      2010-12-09 15:50 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/5ef88773462b

7005095: Cast: compile reject sensible cast from final class to interface
Summary: a previous fix to cast conversion has made the compiler too strict 
w.r.t. final cast
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/cast/7005095/T7005095neg.java
+ test/tools/javac/cast/7005095/T7005095neg.out
+ test/tools/javac/cast/7005095/T7005095pos.java

Changeset: 1d625fbe6c22
Author:    mcimadamore
Date:      2010-12-09 15:50 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/1d625fbe6c22

6476118: compiler bug causes runtime ClassCastException for generics overloading
Summary: compiler allows bridge methods to override unrelated method
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Scope.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/6476118/T6476118a.java
+ test/tools/javac/generics/6476118/T6476118a.out
+ test/tools/javac/generics/6476118/T6476118b.java
+ test/tools/javac/generics/6476118/T6476118b.out
+ test/tools/javac/generics/6476118/T6476118c.java
+ test/tools/javac/generics/6476118/T6476118c.out
+ test/tools/javac/generics/6476118/T6476118d.java

Changeset: e3df8d7a9752
Author:    mcimadamore
Date:      2010-12-09 15:50 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/e3df8d7a9752

7005371: Multicatch: assertion error while generating LocalVariableTypeTable 
attribute
Summary: compiler crashes with assertion error if '-g' option is passed and 
source contains multicatch
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
+ test/tools/javac/multicatch/7005371/SubTest.java
+ test/tools/javac/multicatch/7005371/T7005371.java

Reply via email to