You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"CglibAopProxy: Unable to proxy method" WARN when bean class contains static final method [SPR-11107] #15733
in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug
When using <tx:annotation-driven /> and a bean class has
@Transactional method
public static final method someMethod
a warning is generated:
WARN [org.springframework.aop.framework.CglibAopProxy] - <Unable to proxy method [public static final void MyClass.someMethod()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.>
This makes no sense -- static methods should not be proxied anyway (what would that mean?).
This is a regression compared to Spring 3.1.2, where the warning was not printed for static methods.
in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug
Activity
spring-projects-issues commentedon Nov 22, 2013
Piotr Findeisen commented
Repro project spring-attic/spring-framework-issues#62