Skip expression resolution in getShadowMatch (aligned with 6.1.x)

See gh-32793
See gh-32838
This commit is contained in:
Juergen Hoeller
2024-05-22 15:39:36 +02:00
parent bc291949c2
commit 2170db6996

View File

@@ -456,7 +456,6 @@ public class AspectJExpressionPointcut extends AbstractExpressionPointcut
}
private ShadowMatch getShadowMatch(Method targetMethod, Method originalMethod) {
String expression = resolveExpression();
ShadowMatch shadowMatch = ShadowMatchUtils.getShadowMatch(this, targetMethod);
if (shadowMatch == null) {
PointcutExpression fallbackExpression = null;