anonymous wrote : It looks like it is completely replacing the private native 
defineClass0 method on the classloader
It's not replacing the call, just allowing the AspectManager to transform the 
loaded bytes before calling defineClass0.

anonymous wrote : IBM's JVM has a similar defineClass0 method that also makes a 
native call
I don't have a version of WebSphere to hand but, if I remember correctly, the 
arguments are different from the Sun ClassLoader.  It should be a simple change 
to the code to make it work with their VM.

Getting loadtime transformations to work in WebSphere is a different matter.

I haven't looked at the code lately but it used to rely on the javassist 
classloading to mirror the classloading policy within the VM.  I wasn't 
convinced that this worked properly in JBoss AS and, as my idea would break the 
1.5 support I haven't yet gone ahead with it.  That and time constraints from 
work ;-)

It is now looking unlikely that I will have the time to revisit this until the 
middle of January but it may already be in hand, have been done, or be totally 
unnecessary :-).

If you want to get the classloader modifications working for the IBM VM then 
give me a shout.

Kev


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

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


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