-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
Affects: 6.1.7, 6.1.8
We experience AspectJ aspects to be executed twice since updating to Spring-Boot 3.2.6 with Spring-Framework 6.1.8.
The @Aspect
classes are used with AspectJ-CTW via aspectj-maven-plugin
and we initialize them as spring bean with @Bean
configuration.
Now they are automatically falsely initialized as Spring-AOP cglib proxy additionally to the already existing bean.
This means that calls are going first through the proxy-aspect and then through the CTW-aspect.
We also use Spring-AOP proxies for other aspects in the same project, so we can't just completely disable the AOP autoconfig.
This seems to be caused by #32793
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regressionA bug that is also a regression