parent
6e5c4ef864
commit
57a4628934
|
@ -283,7 +283,7 @@ class CglibAopProxy implements AopProxy, Serializable {
|
||||||
if (Modifier.isFinal(mod)) {
|
if (Modifier.isFinal(mod)) {
|
||||||
if (logger.isWarnEnabled() && implementsInterface(method, ifcs)) {
|
if (logger.isWarnEnabled() && implementsInterface(method, ifcs)) {
|
||||||
logger.warn("Unable to proxy interface-implementing method [" + method + "] because " +
|
logger.warn("Unable to proxy interface-implementing method [" + method + "] because " +
|
||||||
"it is marked as final: Consider using interface-based JDK proxies instead!");
|
"it is marked as final, consider using interface-based JDK proxies instead.");
|
||||||
}
|
}
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("Final method [" + method + "] cannot get proxied via CGLIB: " +
|
logger.debug("Final method [" + method + "] cannot get proxied via CGLIB: " +
|
||||||
|
|
Loading…
Reference in New Issue