Jeroen Frijters wrote:
Be careful, though. Class.forName("[LFoo;") is documented as NOT initializing Foo; does ClassLoader.loadClass() initialize Foo against our wishes?Hi,When Class.forName() is called with an array classname (e.g. "[LFoo;"), it calls classloader.loadClass() with the same string, but this isn't correct. It should instead load "Foo" and then call a VM native method that constructs the array class.
--
This signature intentionally left boring.
Eric Blake [EMAIL PROTECTED]
BYU student, free software programmer
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath