On Monday 12 July 2004 00:57, David Holmes wrote:

> Hmmm. Given that the *only* distinction between the two forms of forName
> are that the first implies initialize=true while the latter gives
> initialize=false, I don't know why anyone would write that code. ???

Oops, you're right; for some reason I thought the third parameter had to be 
non-null. I should check the Java APIs before posting ...

OTOH there are times where you want to call a method (getPackage(), 
findLibrary(), ...) of the appropriate classloader. Having a non-null 
bootstrap class loader would help here.

-- 
Chris Gray                      /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi        http://www.kiffer.be/k/
[EMAIL PROTECTED]                         +32 3 216 0369



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

Reply via email to