commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kohsuke Kawaguchi>
Subject Re: [javaflow] class loader
Date Sat, 13 Aug 2005 18:14:35 GMT
Torsten Curdt wrote:
>>> Couldn't we then maybe also extend from URLClassLoader?
>> It would have been great if I could have done this, but no, as far  
>> as I can tell, URLClassLoader doesn't have a hook we can use to  
>> insert the class file transformation.
> We could completely override the methods.
> This would help easier jetty integration
> e.g. Please see

OK. What I can do is to completely replace the findClass method by using 
the URLCassLoader.findResource.

It won't be able to support package sealing nor can it easily define 
java.lang.Package correctly, but that applies to the current 
AntClassLoader-based one, so it's no worse.

Kohsuke Kawaguchi

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message