Tue, 08 Jan 2013 13:47:57 +0000
8005167: execution time of combo tests in javac should be improved
Reviewed-by: jjg, jjh
duke@1 | 1 | /** |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 6359951 |
duke@1 | 4 | * @summary Crash when using class field |
duke@1 | 5 | * |
duke@1 | 6 | * |
jjg@611 | 7 | * @compile/fail/ref=T6359951.out -XDrawDiagnostics T6359951.java |
duke@1 | 8 | */ |
duke@1 | 9 | |
duke@1 | 10 | public class T6359951 { |
duke@1 | 11 | public static String x; |
duke@1 | 12 | public static class C {} |
duke@1 | 13 | class D<T> { } |
duke@1 | 14 | class E<T> extends D<T.classOfT> {} |
duke@1 | 15 | class F<T extends T6359951> extends D<T.x> {} |
duke@1 | 16 | class G<T extends T6359951> extends D<T.C> {} |
duke@1 | 17 | } |