Closed
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