Refined log message for interface-implementing method

Issue: SPR-15436
(cherry picked from commit 665e6cf)
This commit is contained in:
Juergen Hoeller 2017-04-17 19:29:01 +02:00
parent 91df0653fe
commit 43e806c733
1 changed files with 2 additions and 2 deletions

View File

@ -256,8 +256,8 @@ class CglibAopProxy implements AopProxy, Serializable {
if (!Modifier.isStatic(mod)) {
if (Modifier.isFinal(mod)) {
if (implementsInterface(method, ifcs)) {
logger.warn("Unable to proxy interface-implmenting method [" + method + "] because " +
"it is marked as final: Consider using interface-based proxies instead!");
logger.warn("Unable to proxy interface-implementing method [" + method + "] because " +
"it is marked as final: Consider using interface-based JDK proxies instead!");
}
logger.info("Final method [" + method + "] cannot get proxied via CGLIB: " +
"Calls to this method will NOT be routed to the target instance and " +