diff -r 6211df69f7e0 -r 6762754eb7c0 test/tools/javac/T7042623.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/T7042623.java Wed Jun 01 11:25:50 2011 -0700 @@ -0,0 +1,12 @@ +/* + * @test /nodynamiccopyright/ + * @bug 7042623 + * @summary Regression: javac silently crash when attributing non-existent annotation + * @compile/fail/ref=T7042623.out -XDrawDiagnostics -XDdev T7042623.java + */ + +@interface Defined2 {} + +@Undefined1(@Defined2) +class Test1{} +