6886348: apt incorrectly uses Scope.table
authorjjg
Mon, 28 Sep 2009 16:48:30 -0700
changeset 3999 e2a905534c4b
parent 3998 c66be272f350
child 4000 17d415c7180f
child 4071 10c876d2de66
6886348: apt incorrectly uses Scope.table Reviewed-by: darcy
langtools/src/share/classes/com/sun/tools/apt/comp/Apt.java
--- a/langtools/src/share/classes/com/sun/tools/apt/comp/Apt.java	Fri Sep 25 22:04:43 2009 -0700
+++ b/langtools/src/share/classes/com/sun/tools/apt/comp/Apt.java	Mon Sep 28 16:48:30 2009 -0700
@@ -201,7 +201,7 @@
                     computeAnnotationSet(param, annotationSet);
 
             if (symbol.members() != null) {
-                for(Scope.Entry e: symbol.members().table)
+                for(Scope.Entry e = symbol.members().elems; e != null; e = e.sibling)
                     computeAnnotationSet(e.sym, annotationSet);
             }
         }