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

Yes, I would have added another test based on the number of parameters but it 
would have resulted in the same.  I downloaded the 1.4.2 JDK over the weekend 
and that appears to have a different method name and signature (from cursory 
inspection).

anonymous wrote : 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. 

I have seen this happen when a class contains references to other classes that 
do not exist on the classpath (or at least not that javassist can find).  
Javassist seems to be very strict in this requirement.

anonymous wrote : 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). 

The change to the classloading will probably not help with the previous problem 
unless webSphere has the classes somewhere that cannot be resolved by 
Javassist.  I'll dig through javassist later this evening and see if I can find 
a fix for the problem, it has been an issue that I have been ignoring until now 
:-).

I have a hard deadline of 18th January and should be able to look at the 
classloading shortly afterwards.  The changes will have to go via Bill and 
Kabir though as they will break the 1.5 mechanism.

Kev


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

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


-------------------------------------------------------
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