Sat, 22 Dec 2018 13:10:38 -0800
Added tag jdk8u202-b25 for changeset 15d8c732039b
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 }