1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/T7042623.java Wed Jun 01 11:25:50 2011 -0700 1.3 @@ -0,0 +1,12 @@ 1.4 +/* 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 7042623 1.7 + * @summary Regression: javac silently crash when attributing non-existent annotation 1.8 + * @compile/fail/ref=T7042623.out -XDrawDiagnostics -XDdev T7042623.java 1.9 + */ 1.10 + 1.11 +@interface Defined2 {} 1.12 + 1.13 +@Undefined1(@Defined2) 1.14 +class Test1{} 1.15 +