1 /* 2 * @test /nodynamiccopyright/ 3 * @bug 5014305 4 * @summary Malformed annotation type with varargs parameter crashes javac 5 * 6 * @compile/fail/ref=BadAnnotation.out -XDrawDiagnostics BadAnnotation.java 7 */ 8 9 @BadAnnotation(1) 10 @interface BadAnnotation { value(int... illegal)11 int value(int... illegal); 12 } 13