]> source.dussan.org Git - aspectj.git/commitdiff
218167: test and fix: compiler crash on multiple dec @fields
authoraclement <aclement>
Thu, 7 Feb 2008 18:03:44 +0000 (18:03 +0000)
committeraclement <aclement>
Thu, 7 Feb 2008 18:03:44 +0000 (18:03 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java

index a486c5a72b51335d1796c7313f6c6d4c8317fe06..5ac6b975dee9adefdb8176f40da62c1eead77a41 100644 (file)
@@ -1012,7 +1012,7 @@ class BcelClassWeaver implements IClassWeaver {
                    while (!worthRetrying.isEmpty() && modificationOccured) {
                                modificationOccured = false;
                 List forRemoval = new ArrayList();
-                for (Iterator iter2 = worthRetrying.iterator(); iter.hasNext();) {
+                for (Iterator iter2 = worthRetrying.iterator(); iter2.hasNext();) {
                                  DeclareAnnotation decaF = (DeclareAnnotation) iter2.next();
                                  if (decaF.matches(itdIsActually,world)) {
                                        LazyMethodGen annotationHolder = locateAnnotationHolderForFieldMunger(clazz,fieldMunger);