changeset 2382:153ab328f81a

Undo bad change: set the flag that we entered a class definition.
author wmdietl
date Tue, 02 Apr 2013 17:51:06 -0700
parents 7b75aa776dbc
children 0f12d7fbb785
files src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java	Tue Apr 02 17:03:39 2013 -0700
+++ b/src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java	Tue Apr 02 17:51:06 2013 -0700
@@ -949,6 +949,7 @@
         public void visitClassDef(JCClassDecl tree) {
             if (isInClass)
                 return;
+            isInClass = true;
 
             if (sigOnly) {
                 scan(tree.mods);