diff options
-rw-r--r-- | src/main/javassist/ClassPool.java | 2 | ||||
-rw-r--r-- | src/main/javassist/CtNewWrappedMethod.java | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index 784dc2ba..cce32995 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -680,7 +680,7 @@ public class ClassPool extends AbsClassPool { return clazz; } - private CtClass get1(String classname) throws NotFoundException { + protected CtClass get1(String classname) throws NotFoundException { if (classname.endsWith("[]")) { String base = classname.substring(0, classname.indexOf('[')); if (getCached(base) == null && find(base) == null) diff --git a/src/main/javassist/CtNewWrappedMethod.java b/src/main/javassist/CtNewWrappedMethod.java index d960eb3c..8c1369ec 100644 --- a/src/main/javassist/CtNewWrappedMethod.java +++ b/src/main/javassist/CtNewWrappedMethod.java @@ -139,7 +139,6 @@ class CtNewWrappedMethod { do { bodyname = addedWrappedMethod + clazz.getUniqueNumber(); } while (classfile.getMethod(bodyname) != null); - ClassMap map = new ClassMap(); map.put(src.getDeclaringClass().getName(), clazz.getName()); MethodInfo body = new MethodInfo(classfile.getConstPool(), |