Browse Source

fixed some things that broke JBoss AOP


git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@81 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
patriot1burke 20 years ago
parent
commit
e8ec218d12
2 changed files with 1 additions and 2 deletions
  1. 1
    1
      src/main/javassist/ClassPool.java
  2. 0
    1
      src/main/javassist/CtNewWrappedMethod.java

+ 1
- 1
src/main/javassist/ClassPool.java View 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)

+ 0
- 1
src/main/javassist/CtNewWrappedMethod.java View 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(),

Loading…
Cancel
Save