6.1.3 regression: aspect not called with multiple inheritance #32181
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: feedback-provided
Feedback has been provided
type: regression
A bug that is also a regression
Milestone
We discovered a regression when upgrading from Spring Boot 3.2.1 to Spring Boot 3.2.2.
We have classes with 3 levels of inheritances:
We have a pointcut for the method
myMethod
When we inject an object A (an instance of C in our case) and we call the method
myMethod
, the aspect is not called.If we override in C
myMethod
by callingsuper.myMethod
, it works. If it is B that is annotated @component, it works.The following project reproduces the problem:
demo.zip
When called with Boot 3.2.1, the result is :
When called with Boot 3.2.2, the result is:
The text was updated successfully, but these errors were encountered: