From 0318e1c2e441daef47aab6b3c33360dd1046d918 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 7 Feb 2008 18:03:44 +0000 Subject: [PATCH] 218167: test and fix: compiler crash on multiple dec @fields --- weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5