author | sogoel |
Thu, 05 Jun 2014 10:57:10 -0700 | |
changeset 24797 | 850ebd4d80a7 |
parent 10 | 06bc494ca11e |
child 34754 | 025d0b180221 |
permissions | -rw-r--r-- |
/** * @test * @bug 6547131 * @summary java.lang.ClassFormatError when using old collection API * @compile T.java * @run main T */ import p.*; class SubI implements Outer.I { SubI() { } Outer.I getI() { return this; } } public class T { public static void main(String argv[]){ SubI sub = new SubI(); Outer.I inter = (Outer.I)sub.getI(); } }