diff options
author | jhugunin <jhugunin> | 2003-09-04 15:49:08 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-09-04 15:49:08 +0000 |
commit | 8660cc12bfbcd6f4957abd4dfc84735de6c048cf (patch) | |
tree | 174a6319b9427d56a9707a89743ba5354eb647d5 /weaver | |
parent | c1ada785adc3a05f9df4b96469b64e5c77d398de (diff) | |
download | aspectj-8660cc12bfbcd6f4957abd4dfc84735de6c048cf.tar.gz aspectj-8660cc12bfbcd6f4957abd4dfc84735de6c048cf.zip |
test and fix for Bugzilla Bug 42539
throw derivative pointcuts not advised
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/ThrowsPattern.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/ThrowsPattern.java b/weaver/src/org/aspectj/weaver/patterns/ThrowsPattern.java index 2b6be4863..5de0c16b7 100644 --- a/weaver/src/org/aspectj/weaver/patterns/ThrowsPattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/ThrowsPattern.java @@ -91,7 +91,7 @@ public class ThrowsPattern extends PatternNode { ResolvedTypeX[] types) { for (int i = types.length - 1; i >= 0; i--) { - if (typePattern.matchesExactly(types[i])) return true; + if (typePattern.matchesStatically(types[i])) return true; } return false; } |