changeset 418:c6d0c55b1aba

6886348: apt incorrectly uses Scope.table Reviewed-by: darcy
author jjg
date Mon, 28 Sep 2009 16:48:30 -0700
parents 4776a869fdfa
children 1a66b08deed0 e526e39579ae
files src/share/classes/com/sun/tools/apt/comp/Apt.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/apt/comp/Apt.java	Fri Sep 25 22:04:43 2009 -0700
+++ b/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);
             }
         }