Thu, 21 Feb 2013 15:27:05 +0000
8008444: Inherited generic functional descriptors are merged incorrectly
Summary: Missing call to Types.createMethodWithThrownTypes
Reviewed-by: jjg
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 }