aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-02-13 22:24:56 +0000
committerjhugunin <jhugunin>2003-02-13 22:24:56 +0000
commit19c3e16d2212bdd41144da2150c8ef46b4a759a5 (patch)
treebc60f252d4b8259bba3b532a68c8137cfbadaaaf /weaver
parentd15eb325fc77d9f1eb0ac9ec1f6886562d531105 (diff)
downloadaspectj-19c3e16d2212bdd41144da2150c8ef46b4a759a5.tar.gz
aspectj-19c3e16d2212bdd41144da2150c8ef46b4a759a5.zip
fixed Bug 31423: adviceexecution not working
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java2
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java b/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java
index 207f58259..6003e8f74 100644
--- a/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java
+++ b/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java
@@ -35,8 +35,6 @@ public class KindedPointcut extends Pointcut {
public boolean fastMatch(JavaClass jc) { return true; }
public FuzzyBoolean match(Shadow shadow) {
-
-
if (shadow.getKind() != kind) return FuzzyBoolean.NO;
if (!signature.matches(shadow.getSignature(), shadow.getIWorld())) return FuzzyBoolean.NO;
diff --git a/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java b/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java
index fe6f656c7..f6b091289 100644
--- a/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java
+++ b/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java
@@ -85,6 +85,8 @@ public class SignaturePattern extends PatternNode {
world.getLint().unresolvableMember.signal(member.toString(), getSourceLocation());
return false;
}
+ if (kind == Member.ADVICE) return true;
+
if (!modifiers.matches(sig.getModifiers())) return false;
if (kind == Member.STATIC_INITIALIZATION) {