aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-09-04 15:49:08 +0000
committerjhugunin <jhugunin>2003-09-04 15:49:08 +0000
commit8660cc12bfbcd6f4957abd4dfc84735de6c048cf (patch)
tree174a6319b9427d56a9707a89743ba5354eb647d5 /weaver
parentc1ada785adc3a05f9df4b96469b64e5c77d398de (diff)
downloadaspectj-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.java2
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;
}