From: aclement Date: Wed, 20 Feb 2008 21:07:43 +0000 (+0000) Subject: 214559: tests and fix: cope with varying orderings for interdependant declare parents... X-Git-Tag: V1_6_0M2~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f836185807e97bdd7f300a5f615b6234b84d1ee6;p=aspectj.git 214559: tests and fix: cope with varying orderings for interdependant declare parents statements. --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index b0d2cf61b..e3a48069c 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -1446,8 +1446,8 @@ public class BcelWeaver implements IWeaver { boolean typeChanged = applyDeclareParents(decp,onType); if (typeChanged) { aParentChangeOccurred = true; - } else { // Perhaps it would have matched if a 'dec @type' had modified the type - if (!decp.getChild().isStarAnnotation()) decpToRepeat.add(decp); + } else { + decpToRepeat.add(decp); } }