hg: jdk7/tl/langtools: 6558548: The compiler needs to be aligned with clarified specification of throws

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed Mar 16 11:13:43 UTC 2011


Changeset: 5b29f2a85085
Author:    mcimadamore
Date:      2011-03-16 11:12 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/5b29f2a85085

6558548: The compiler needs to be aligned with clarified specification of throws
Summary: Javac should issue unconditional warnings when 'dead' catch clauses are detected
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ 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/UnreachableCatch.java
+ test/tools/javac/diags/examples/UnreachableCatch1.java




More information about the core-libs-dev mailing list