David Holmes wrote:
> > Is is correct that getSystemClassLoaderInternal() is a gcj-specific
> > method? And why is native code needed, i.e., why can't you just
> > load an instance of gnu.java.lang.SystemClassLoader (or
> > gnu.gcj.runtime.VMClassLoader in gcj's case) using the bootstrap
> > loader, and then use it to load the user-specified class loader?
> 
> Given that this all occurs at bootstrap time when the only pre-existing
> loader is the "null" bootstrap loader why not just instantiate the default
> system loader directly rather than using Class.forName? The construction
> will implicitly load the class using the internal VM mechanism associated
> with doing "new".

Good point.. that would be a lot simpler.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


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

Reply via email to