1/* 2 * @test /nodynamiccopyright/ 3 * @bug 4987844 4 * @summary compiler crash with ill-formed annotation 5 * @author gafter 6 * 7 * @compile/fail/ref=GenLit1.out -XDrawDiagnostics GenLit1.java 8 */ 9 10package genLit1; 11 12@interface X { 13 Class value(); 14} 15 16@X(Z.class) 17class Y<Z> { 18} 19