hg: jdk7/tl/langtools: 2 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Nov 4 06:00:56 PDT 2010


Changeset: f2048d9c666e
Author:    mcimadamore
Date:      2010-11-04 12:57 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/f2048d9c666e

6993963: Project Coin: Use precise exception analysis for effectively final catch parameters
Summary: More precise rethrow analysis should be extended to effectively-final exception parameters. Multicatch parameters should be made implicitly final.
Reviewed-by: jjg, darcy

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
- test/tools/javac/diags/examples/MulticatchMustBeFinal.java
+ test/tools/javac/multicatch/Neg01eff_final.java
+ test/tools/javac/multicatch/Neg01eff_final.out
! test/tools/javac/multicatch/Neg02.java
! test/tools/javac/multicatch/Neg02.out
+ test/tools/javac/multicatch/Neg02eff_final.java
+ test/tools/javac/multicatch/Neg02eff_final.out
! test/tools/javac/multicatch/Neg03.java
! test/tools/javac/multicatch/Neg03.out
+ test/tools/javac/multicatch/Neg04eff_final.java
+ test/tools/javac/multicatch/Neg04eff_final.out
+ test/tools/javac/multicatch/Neg05.java
+ test/tools/javac/multicatch/Neg05.out
+ test/tools/javac/multicatch/Pos06.java
+ test/tools/javac/multicatch/Pos07.java
+ test/tools/javac/multicatch/model/Check.java
+ test/tools/javac/multicatch/model/Member.java
+ test/tools/javac/multicatch/model/Model01.java
+ test/tools/javac/multicatch/model/ModelChecker.java

Changeset: e9e41c88b03e
Author:    mcimadamore
Date:      2010-11-04 12:58 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/e9e41c88b03e

6714835: Safe cast is rejected (with warning) by javac
Summary: Rules for unchecked cast conversion do not take into account type-containment
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! test/tools/javac/cast/6467183/T6467183a.out
+ test/tools/javac/cast/6714835/T6714835.java
+ test/tools/javac/cast/6714835/T6714835.out




More information about the security-dev mailing list