Archie Cobbs wrote: > Hmm.. you mean the statement "Sun's VM returns null for the > boot loader" ? > Otherwise I'm not sure what you're asking me to clarify...
No, originally you wrote: > The Sun API spec clearly states that > Class.getClassLoader() may return > null, and in fact MUST return null for primitive type > Class objects. > So why worry about obviously buggy software? I responded to this by saying that these vague spec statements don't really help, in practice you have to be compatible with Sun's implementation. Yes, it's legal to return null from getClassLoader (IMHO, even for "application" classes), but in reality this breaks lots of code. Yes, it's legal not to return null for "system" classes (e.g. java.lang.Object), but again, I'm sure this will break some code. Regards, Jeroen _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

