Wed, 23 Apr 2008 17:10:03 +0100
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
duke@1 | 1 | ExtendArray.java:11: unexpected type |
duke@1 | 2 | found : java.lang.Object[] |
duke@1 | 3 | required: class |
duke@1 | 4 | public class ExtendArray extends Object[] {} |
duke@1 | 5 | ^ |
duke@1 | 6 | 1 error |