changeset 2230:f35c7284d8dc

Process the class body of an anonymous class instantiation.
author wmdietl
date Mon, 18 Feb 2013 00:31:48 -0800
parents 20d3735b6a7b
children 18c5660c7e99 eb79a7841164
files src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java	Sun Feb 17 23:56:15 2013 -0800
+++ b/src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java	Mon Feb 18 00:31:48 2013 -0800
@@ -89,12 +89,6 @@
      */
     public static void organizeTypeAnnotationsSignatures(final Symtab syms, final Names names,
             final Log log, final JCClassDecl tree, Annotate annotate) {
-        if (tree.name == names.empty) {
-            // Nothing to do for anonymous classes; later we will analyze a
-            // NEW_CLASS instead of this CLASS tree.
-            return;
-        }
-
         annotate.afterRepeated( new Annotator() {
             @Override
             public void enterAnnotation() {