Closed
Description
Juergen Hoeller opened SPR-15436 and commented
The change triggered by #16241 led to a downgrade of the log category for non-interceptible final
methods from WARN to INFO, aligned with the then-new log messages for non-interceptible package-visible methods. However, public final
methods which happen to implement methods in a service interface remain a serious problem for CGLIB proxy generation: We should either log those specific messages on WARN again or reject such target classes upfront.
Issue Links:
- Clarification: Spring AOP pointcuts match protected methods when CGLIB is used [SPR-15354] #19917 Clarification: Spring AOP pointcuts match protected methods when CGLIB is used
- CglibAopProxy needs to detect package-visible methods when defined in a different ClassLoader [SPR-11618] #16241 CglibAopProxy needs to detect package-visible methods when defined in a different ClassLoader