Skip to content

Revisit CGLIB AOP proxy warnings for final methods [SPR-15436] #19997

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits 665e6cf, 43e806c, 9b2f9e6, 0d0b879

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions