diff -r fd16c54261b3 -r 06bc494ca11e langtools/test/tools/javac/6547131/T.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/langtools/test/tools/javac/6547131/T.java Sat Dec 01 00:00:00 2007 +0000 @@ -0,0 +1,21 @@ +/** + * @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(); + } +}