test/tools/javac/T6227617.out

Wed, 23 Apr 2008 17:10:03 +0100

author
mcimadamore
date
Wed, 23 Apr 2008 17:10:03 +0100
changeset 33
ec29a1a284ca
parent 0
959103a6100f
permissions
-rw-r--r--

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

     1 T6227617.java:14:18: compiler.warn.redundant.cast: int
     2 T6227617.java:19:20: compiler.warn.redundant.cast: java.lang.String
     3 T6227617.java:23:22: compiler.warn.redundant.cast: java.lang.Integer
     4 T6227617.java:33:27: compiler.warn.redundant.cast: int
     5 T6227617.java:36:29: compiler.warn.redundant.cast: java.lang.String
     6 5 warnings

mercurial