From: aclement Date: Thu, 7 Feb 2008 18:03:44 +0000 (+0000) Subject: 218167: test and fix: compiler crash on multiple dec @fields X-Git-Tag: V1_6_0M2~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0318e1c2e441daef47aab6b3c33360dd1046d918;p=aspectj.git 218167: test and fix: compiler crash on multiple dec @fields --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java index a486c5a72..5ac6b975d 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java @@ -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);