null ClassLoader

Torsten Rüger torsten.rueger@firsthop.com
Fri Nov 9 15:48:00 GMT 2001


-- Snip
> or do I misunderstand the problem?

Sounds like it. The poinit was to have non - null Classloader for all 
classes.
 
--paste
 > I don't think it will work for all classes. Suppose we change
 > libgcj.jar so java.lang.Object appears to have been loaded by e.g. a
 > SharedLibLoader.
This is not the point. java.* classes must always be loaded by the 
bootstrap loader, as I understand an instance of 
java.lang.VMClassLoader. Not any other arbitrary one.
This loader is by definition (being the bootstrap loader) not loader by 
any other ClassLoader, but by the JVM, or in other words a mechanism 
outside the java spec.
Cheers 
	Torsten


More information about the Java mailing list

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