aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2008-02-20 21:07:43 +0000
committeraclement <aclement>2008-02-20 21:07:43 +0000
commitf836185807e97bdd7f300a5f615b6234b84d1ee6 (patch)
treed9dabbb10b19337ea3ac2990a0c88d0cdfdc6fd2 /weaver
parent228692968fa99517b7b172392095a6146cffe6bf (diff)
downloadaspectj-f836185807e97bdd7f300a5f615b6234b84d1ee6.tar.gz
aspectj-f836185807e97bdd7f300a5f615b6234b84d1ee6.zip
214559: tests and fix: cope with varying orderings for interdependant declare parents statements.
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java4
1 files 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);
}
}