diff options
author | patriot1burke <patriot1burke@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2004-04-12 19:04:55 +0000 |
---|---|---|
committer | patriot1burke <patriot1burke@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2004-04-12 19:04:55 +0000 |
commit | e8ec218d123cf47bcf1ecaff41fbfcc93a13ed00 (patch) | |
tree | 6bf062d5a7fa1702ae32dcba35c2b0351c0c94eb | |
parent | e6621eb41b6478923e5d0a78d17c9c75f60e6db6 (diff) | |
download | javassist-e8ec218d123cf47bcf1ecaff41fbfcc93a13ed00.tar.gz javassist-e8ec218d123cf47bcf1ecaff41fbfcc93a13ed00.zip |
fixed some things that broke JBoss AOP
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@81 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-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(), |