From f836185807e97bdd7f300a5f615b6234b84d1ee6 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 20 Feb 2008 21:07:43 +0000 Subject: [PATCH] 214559: tests and fix: cope with varying orderings for interdependant declare parents statements. --- weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.39.5