Mail Archive Home | asm List | November 2006 Index
| <-- Date Index --> | <-- Thread Index --> |
Nothing special. If I am not mistaken, that method had been removed in ASM 3. So, should not be using it, especially if it does not work for you. :-)I'm having some problems getting asm to work for me in spring aop under weblogic 8.1sp5. I've narrowed down the problem to a classloader issue (i hope).
More specifically, one of the ClassReader constructors does this:
public ClassReader(final String name) throws IOException { this(ClassLoader.getSystemResourceAsStream(name.replace('.', '/') + ".class")); }
Now if my (recently acquired) knowledge of classloaders is correct, then the use of the system classloader in getSystemResourceAsStream can never work because the system classloader is parent of the application (WAR) classloader. So, when a class inside my war asks the parent CL to find another resource that is located in that very same WAR it will not find it.
So my question is really if i'm supposed to do something special to get asm (2.2.3) to work for me under this environment? Has anybody reported similar issues?
regards, Eugene
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.