Browse Source

jfinal 3.5

James 7 years ago
parent
commit
3656dcfc65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/jfinal/aop/Callback.java

+ 1 - 1
src/main/java/com/jfinal/aop/Callback.java

@@ -87,7 +87,7 @@ class Callback implements MethodInterceptor {
 		}
 		else {
 			Class<?> targetClass = target.getClass();
-			if (targetClass.getName().indexOf("$$EnhancerByCGLIB") != -1) {
+			if (targetClass.getName().indexOf("$$EnhancerBy") != -1) {
 				targetClass = targetClass.getSuperclass();
 			}
 			Interceptor[] finalInters = interMan.buildServiceMethodInterceptor(injectInters, targetClass, method);