--- a/langtools/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java Tue Aug 05 17:07:13 2008 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java Fri Aug 08 15:16:25 2008 +0100
@@ -828,6 +828,9 @@
// Save class environment for later member enter (2) processing.
halfcompleted.append(env);
+ // Mark class as not yet attributed.
+ c.flags_field |= UNATTRIBUTED;
+
// If this is a toplevel-class, make sure any preceding import
// clauses have been seen.
if (c.owner.kind == PCK) {
@@ -835,9 +838,6 @@
todo.append(env);
}
- // Mark class as not yet attributed.
- c.flags_field |= UNATTRIBUTED;
-
if (c.owner.kind == TYP)
c.owner.complete();