Thu, 07 Jun 2012 20:30:57 -0700
7170079: Adjustments to build-infra makefiles
Reviewed-by: ohair, ohrstrom, ihse, jonas
Contributed-by: jonas <jonas.oreland@oracle.com>, erikj <erik.joelsson@oracle.com>, ihse <magnus.ihse.bursie@oracle.com>, tgranat <torbjorn.granat@oracle.com>, ykantser <yekaterina.kantserova@oracle.com>
aoqi@0 | 1 | /** |
aoqi@0 | 2 | * @test |
aoqi@0 | 3 | * @bug 6547131 |
aoqi@0 | 4 | * @summary java.lang.ClassFormatError when using old collection API |
aoqi@0 | 5 | * @compile T.java |
aoqi@0 | 6 | * @run main T |
aoqi@0 | 7 | */ |
aoqi@0 | 8 | |
aoqi@0 | 9 | import p.*; |
aoqi@0 | 10 | |
aoqi@0 | 11 | class SubI implements Outer.I { |
aoqi@0 | 12 | SubI() { } |
aoqi@0 | 13 | Outer.I getI() { return this; } |
aoqi@0 | 14 | } |
aoqi@0 | 15 | |
aoqi@0 | 16 | public class T { |
aoqi@0 | 17 | public static void main(String argv[]){ |
aoqi@0 | 18 | SubI sub = new SubI(); |
aoqi@0 | 19 | Outer.I inter = (Outer.I)sub.getI(); |
aoqi@0 | 20 | } |
aoqi@0 | 21 | } |