Mon, 17 Oct 2011 12:57:36 +0100
7093325: Redundant entry in bytecode exception table
Summary: Inlining of finalizers does not update gaps list accordingly
Reviewed-by: jjg
1 /**
2 * @test
3 * @bug 6547131
4 * @summary java.lang.ClassFormatError when using old collection API
5 * @compile T.java
6 * @run main T
7 */
9 import p.*;
11 class SubI implements Outer.I {
12 SubI() { }
13 Outer.I getI() { return this; }
14 }
16 public class T {
17 public static void main(String argv[]){
18 SubI sub = new SubI();
19 Outer.I inter = (Outer.I)sub.getI();
20 }
21 }