aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-05-03 16:53:25 +0000
committeravasseur <avasseur>2005-05-03 16:53:25 +0000
commit45c9ca0e5a8c4ff09f366192aeb960e6a5c680fe (patch)
treeadc010b90fb286ddda7cf3ea8af18e9754546e3d /weaver
parent14bbd84bb1ad3995c1d0911f9674a16ea21dc9de (diff)
downloadaspectj-45c9ca0e5a8c4ff09f366192aeb960e6a5c680fe.tar.gz
aspectj-45c9ca0e5a8c4ff09f366192aeb960e6a5c680fe.zip
missing perTypeWithinEntry filtering - happens when running @AtAJSyntax suite in LTW
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/Shadow.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/weaver/src/org/aspectj/weaver/Shadow.java b/weaver/src/org/aspectj/weaver/Shadow.java
index 5124e69c4..93c49f0f0 100644
--- a/weaver/src/org/aspectj/weaver/Shadow.java
+++ b/weaver/src/org/aspectj/weaver/Shadow.java
@@ -447,7 +447,7 @@ public abstract class Shadow {
public IRelationship.Kind determineRelKind(ShadowMunger munger) {
AdviceKind ak = ((Advice)munger).getKind();
- if (ak.getKey()==AdviceKind.Before.getKey())
+ if (ak.getKey()==AdviceKind.Before.getKey())
return IRelationship.Kind.ADVICE_BEFORE;
else if (ak.getKey()==AdviceKind.After.getKey())
return IRelationship.Kind.ADVICE_AFTER;
@@ -464,8 +464,9 @@ public abstract class Shadow {
ak.getKey()==AdviceKind.PerCflowBelowEntry.getKey() ||
ak.getKey()==AdviceKind.PerThisEntry.getKey() ||
ak.getKey()==AdviceKind.PerTargetEntry.getKey() ||
- ak.getKey()==AdviceKind.Softener.getKey()) {
- //FIXME: Alex: why this System.err was there ?? It prints nasty thing in my LTW.
+ ak.getKey()==AdviceKind.Softener.getKey() ||
+ ak.getKey()==AdviceKind.PerTypeWithinEntry.getKey()) {
+ //FIXME: Alex: why this System.err was there ?? It prints nasty thing in my LTW.
System.err.println("Dont want a message about this: "+ak);
return null;
}