AOP pointcut erroneously matching ProceedingJoinPoint.proceed
when called from within another advised bean
#26068
Labels
Milestone
Affects: Spring Boot 2.3.5.RELEASE
There appears to be a bug in spring aop - see this stackoverflow issue, and my MCVE.
TLDR: when in an around advice, if I pass
joinPoint::proceed
(wherejoinPoint
is the injectedProceedingJoinPoint
) as a lambda or a method reference into another method (foo
) of another class (Bar
), an advice with a pointcut matchingBar::foo
interceptsjoinPoint.proceed()
(NOTBar::foo
).The text was updated successfully, but these errors were encountered: