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