]> source.dussan.org Git - javassist.git/commitdiff
fixed some things that broke JBoss AOP
authorpatriot1burke <patriot1burke@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Mon, 12 Apr 2004 19:04:55 +0000 (19:04 +0000)
committerpatriot1burke <patriot1burke@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Mon, 12 Apr 2004 19:04:55 +0000 (19:04 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@81 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/ClassPool.java
src/main/javassist/CtNewWrappedMethod.java

index 784dc2bacbe1065293802c3c9bb1f22d5bd74ea8..cce32995092b7b604f5ce8446c87889b8a68319c 100644 (file)
@@ -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)
index d960eb3c7e1b72ffaf588585bec13f4215ce221f..8c1369ecfe7b07d26fe534b0437ef8f39e2380c8 100644 (file)
@@ -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(),