Thu, 24 Oct 2013 01:27:10 -0400
8023682: Incorrect attributes emitted for anonymous class declaration
Summary: Cause javac to emit type annotations on new instruction as well as anonymous class supertype for annotated anonymous classes.
Reviewed-by: jjg, jfranck
1 DeclarationAnnotation.java:10:21: compiler.err.annotation.type.not.applicable
2 DeclarationAnnotation.java:11:21: compiler.err.annotation.type.not.applicable
3 DeclarationAnnotation.java:12:21: compiler.err.annotation.type.not.applicable
4 DeclarationAnnotation.java:16:21: compiler.err.annotation.type.not.applicable
5 4 errors