6886348: apt incorrectly uses Scope.table

Mon, 28 Sep 2009 16:48:30 -0700

author
jjg
date
Mon, 28 Sep 2009 16:48:30 -0700
changeset 419
c6d0c55b1aba
parent 418
4776a869fdfa
child 420
1a66b08deed0
child 422
e526e39579ae

6886348: apt incorrectly uses Scope.table
Reviewed-by: darcy

src/share/classes/com/sun/tools/apt/comp/Apt.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/classes/com/sun/tools/apt/comp/Apt.java	Fri Sep 25 22:04:43 2009 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/apt/comp/Apt.java	Mon Sep 28 16:48:30 2009 -0700
     1.3 @@ -201,7 +201,7 @@
     1.4                      computeAnnotationSet(param, annotationSet);
     1.5  
     1.6              if (symbol.members() != null) {
     1.7 -                for(Scope.Entry e: symbol.members().table)
     1.8 +                for(Scope.Entry e = symbol.members().elems; e != null; e = e.sibling)
     1.9                      computeAnnotationSet(e.sym, annotationSet);
    1.10              }
    1.11          }

mercurial