1.1 --- a/test/tools/javac/annotations/typeAnnotations/newlocations/AnonymousClass.java Wed Oct 23 23:20:32 2013 -0400 1.2 +++ b/test/tools/javac/annotations/typeAnnotations/newlocations/AnonymousClass.java Thu Oct 24 01:27:10 2013 -0400 1.3 @@ -32,12 +32,9 @@ 1.4 */ 1.5 class AnonymousClass { 1.6 Object o1 = new @TA Object() { }; 1.7 - // Declaration annotations are also allowed. 1.8 - Object o2 = new @TA @DA Object() { }; 1.9 + Object o2 = new @TA Object() { }; 1.10 } 1.11 1.12 -@interface DA { } 1.13 - 1.14 @Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) 1.15 @interface TA { } 1.16