This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: null ClassLoader


-- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]