Robert Lougher wrote:
> Looking at the code, the "default" system class loader (in 
> gnu.java.lang...) simply delegates to the bootstrap loader - 
> it doesn't implement findClass.  Obviously, it's not
> difficult to write my own to parse and search the classpath
> (zip, jar, file...).  However, is there any reason why I
> can't simply sub-class URLClassLoader, and construct a 
> list of URLs?  I've got a simple SystemClassLoader based on 
> URLClassLoader and it seems to work OK.

I do the same and I've never noticed any problems with it (and I don't
see any reasons why it should cause a problem). In fact, I think that
Classpath should include an application and extension class loader based
on this idea. It's on my TODO list, but the list is rather long ;-)

Regards,
Jeroen


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to