null ClassLoader

Tom Tromey tromey@redhat.com
Fri Nov 9 13:39:00 GMT 2001


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

[ some old email ]
Torsten> Yes, but it hasn't been implemented. Why ? Such a small
Torsten> thing.
Jeff> Maybe because the correct semantics aren't that obvious? Sun
Jeff> has both a bootclasspath & classpath; gcj does not. There is no
Jeff> simple way to distinguish classes that are linked into the final
Jeff> executable (whether static or not) from libgcj classes.
Couldn't we just return the same class loader for bootstrap classes as
well as user-defined classes? I don't think any of our code relies on
the class loader being null. So we might as well make this change,
just to make things convenient for those who assume that class loaders
are never null. Is there any reason not to make the change?
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /