Skip to content

Commit 43e806c

Browse files
committed
Refined log message for interface-implementing method
Issue: SPR-15436 (cherry picked from commit 665e6cf)
1 parent 91df065 commit 43e806c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-aop/src/main/java/org/springframework/aop/framework/CglibAopProxy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ private void doValidateClass(Class<?> proxySuperClass, ClassLoader proxyClassLoa
256256
if (!Modifier.isStatic(mod)) {
257257
if (Modifier.isFinal(mod)) {
258258
if (implementsInterface(method, ifcs)) {
259-
logger.warn("Unable to proxy interface-implmenting method [" + method + "] because " +
260-
"it is marked as final: Consider using interface-based proxies instead!");
259+
logger.warn("Unable to proxy interface-implementing method [" + method + "] because " +
260+
"it is marked as final: Consider using interface-based JDK proxies instead!");
261261
}
262262
logger.info("Final method [" + method + "] cannot get proxied via CGLIB: " +
263263
"Calls to this method will NOT be routed to the target instance and " +

0 commit comments

Comments
 (0)