hg: jdk7/tl/langtools: 6682380: Foreach loop with generics inside finally block crashes javac with -target 1.5

maurizio.cimadamore at sun.com maurizio.cimadamore at sun.com
Wed Apr 23 09:11:11 PDT 2008


Changeset: ec29a1a284ca
Author:    mcimadamore
Date:      2008-04-23 17:10 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/ec29a1a284ca

6682380: Foreach loop with generics inside finally block crashes javac with -target 1.5
Summary: A missing type-erasure in Lower.java causes the compiler to crash since JDK6
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/foreach/T6682380.java




More information about the compiler-dev mailing list