Spring coroutines AOP is not compatible with @Cacheable
#33210
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: kotlin
An issue related to Kotlin support
type: bug
A general bug
Milestone
Affects: 6.1.8
When combined with other aspects on a suspend function like in the following example, the interceptor does not handle the aspect chain properly and aspects like TimedAspect are not executed.
The TimedAspect is executed if the annotated function is not a suspend function.
I tried to run it with @EnableCaching(mode = AdviceMode.ASPECTJ) for testing it but I get the following error during startup:
The text was updated successfully, but these errors were encountered: