diff options
author | avasseur <avasseur> | 2005-05-03 16:53:25 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-05-03 16:53:25 +0000 |
commit | 45c9ca0e5a8c4ff09f366192aeb960e6a5c680fe (patch) | |
tree | adc010b90fb286ddda7cf3ea8af18e9754546e3d /weaver | |
parent | 14bbd84bb1ad3995c1d0911f9674a16ea21dc9de (diff) | |
download | aspectj-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.java | 7 |
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; } |