AspectJ execution pointcut does not detect methods in superinterface anymore [SPR-16723] #21264
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: regression
A bug that is also a regression
Milestone
Tiberiu Tofan opened SPR-16723 and commented
After upgrading from Spring Boot 2.0.0.M7 (Sprig AOP 5.0.2) to Spring Boot 2.0.1.RELEASE (Spring AOP 5.0.5) the following advice doesn't work anymore:
It looks like the pointcut ignores methods that are declared only in a super interface. If I actually override the methods in my MongoRepository, the advice is applied.
A workaround for this is to use the interface where the method is actually declared as a execution pointcut, and specify the target separately:
Affects: 5.0.5
Issue Links:
The text was updated successfully, but these errors were encountered: