hg: jdk7/tl/langtools: 4 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Apr 29 15:11:35 UTC 2011


Changeset: 4c03383f6529
Author:    mcimadamore
Date:      2011-04-29 16:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/4c03383f6529

7040104: javac NPE on Object a[]; Object o = (a=null)[0];
Summary: When a null literal is found on top of stack, if expected type is 1-dimension array no checkcast is emitted
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/jvm/Code.java
+ test/tools/javac/T7040104.java

Changeset: 9a847a77205d
Author:    mcimadamore
Date:      2011-04-29 16:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/9a847a77205d

7039937: Improved catch analysis fails to handle a common idiom in the libraries
Summary: Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Flow.java
! test/tools/javac/6558548/T6558548.java
! test/tools/javac/6558548/T6558548_6.out
! test/tools/javac/6558548/T6558548_latest.out
! test/tools/javac/diags/examples/UnreachableCatch1.java

Changeset: 1092b67b3cad
Author:    mcimadamore
Date:      2011-04-29 16:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/1092b67b3cad

7034495: Javac asserts on usage of wildcards in bounds
Summary: Problem with intersection types and wildcards causing javac to crash
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/wildcards/7034495/T7034495.java
+ test/tools/javac/generics/wildcards/7034495/T7034495.out

Changeset: dc3d9ef880a1
Author:    mcimadamore
Date:      2011-04-29 16:06 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/dc3d9ef880a1

6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
Summary: Accessing a non-existing enum constant from an annotation whose class is available results in an internal error
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/annotations/6550655/T6550655.java
! test/tools/javac/diags/examples.not-yet.txt




More information about the security-dev mailing list