aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2019-04-04 12:55:58 -0700
committerAndy Clement <aclement@pivotal.io>2019-04-04 12:55:58 -0700
commitc53bdfe303c4d0187da7859e1f18d8c7577f7828 (patch)
tree52bd81346f87dc032776fce5c1d2d49e8803d3b3 /org.aspectj.matcher
parent0e2c95a36900fe913f5d768e7f4632034ddf005b (diff)
downloadaspectj-c53bdfe303c4d0187da7859e1f18d8c7577f7828.tar.gz
aspectj-c53bdfe303c4d0187da7859e1f18d8c7577f7828.zip
polish for 1.9.3V1_9_3
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/KindedPointcut.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/KindedPointcut.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/KindedPointcut.java
index 56a45892d..67d24672b 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/KindedPointcut.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/KindedPointcut.java
@@ -174,10 +174,11 @@ public class KindedPointcut extends Pointcut {
}
}
}
- } else if (this.getSignature().getDeclaringType() instanceof WildTypePattern) {
- final WildTypePattern pattern = (WildTypePattern) this.getSignature().getDeclaringType();
- final ResolvedType type = info.getType();
- return pattern.matches(type, TypePattern.STATIC);
+ // Optimization from 532033: passes AspectJ tests but breaks Spring Framework
+// } else if (this.getSignature().getDeclaringType() instanceof WildTypePattern) {
+// final WildTypePattern pattern = (WildTypePattern) this.getSignature().getDeclaringType();
+// final ResolvedType type = info.getType();
+// return pattern.matches(type, TypePattern.STATIC);
}
}
}