I'm using 1.4.1 of the IBM VM.   We're pretty much tied to WebSphere on this 
project, so even if we did upgrade to 6.0 in the near term (which we won't) 
we'd still only be on 1.4.2.

I tried altering the following part of the replace call in 
AspectManager.getInstrumentedClassLoader():

+ "    $_ = $proceed($1, newBytes, 0, newBytes.length, $5) ;"

with

+ "    $_ = $proceed($1, newBytes, 0, newBytes.length, $5, $6, $7) ;"

Just like before when I set jboss.aop.verbose to true it chatters on about 
trying to transform certain objects and determining what methods should be 
aspectized.  That seems to indicate that the AspectManager is being called at 
the correct time before the defineClass0 method is called, and that classes are 
successfully being loaded to some degree.

Ultimately it dies at the same place as before.  It still throws the same 
exception, stating that it is unable to aspectize a class because it is unable 
to find another class that it references.

Not sure if the above fix is the fix you were envisioning or not, but I thought 
I'd give it a try from what I understand about the code.

As far as the recursive classloading techniques, I'd be interested in trying 
that out, would I need to dig into javassist?  I'll start there and see what I 
can find, but please feel free to give any directions you might find helpful (I 
understand that you're pretty strapped for time).

Thanks for the help,

Tom

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859092#3859092

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859092


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to