Thu, 10 Oct 2013 14:58:04 +0200
8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
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 | } |