1/* 2 * @test /nodynamiccopyright/ 3 * @bug 4963450 4 * @summary Assertion error is thrown when an annotation class cannot be found. 5 * @author gafter 6 * 7 * @compile/fail/ref=Recovery1.out -XDrawDiagnostics Recovery1.java 8 */ 9 10package recovery1; 11 12@interface MyAnnotation { 13 String value(); 14 Marker marker() default @Marker; 15} 16 17interface MyBean { 18 @MyAnnotation (value="baz", markerToo="not default") 19 public String getFoo(); 20} 21