]> source.dussan.org Git - aspectj.git/commitdiff
use the matchingSignature of a shadow for matching (not the synthetic sig)
authoracolyer <acolyer>
Thu, 1 Sep 2005 12:38:33 +0000 (12:38 +0000)
committeracolyer <acolyer>
Thu, 1 Sep 2005 12:38:33 +0000 (12:38 +0000)
weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java

index 32a982373498a7da594121c955057c533fd1958d..f56218d843e17a152928f062b7af720feed8fcc3 100644 (file)
@@ -108,7 +108,7 @@ public class KindedPointcut extends Pointcut {
        protected FuzzyBoolean matchInternal(Shadow shadow) {
                if (shadow.getKind() != kind) return FuzzyBoolean.NO;
 
-               if (!signature.matches(shadow.getSignature(), shadow.getIWorld(),this.kind == Shadow.MethodCall)){
+               if (!signature.matches(shadow.getMatchingSignature(), shadow.getIWorld(),this.kind == Shadow.MethodCall)){
 
             if(kind == Shadow.MethodCall) {
                 warnOnConfusingSig(shadow);