author | mikejwre |
Wed, 09 Jun 2010 18:56:41 -0700 | |
changeset 5634 | 895b66935810 |
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(); } }