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]

Re: null ClassLoader




On Fri, 26 Oct 2001, Torsten R|ger wrote:
> > This has been discussed before...
> 
> Yes, but it hasn't been implemented. Why ? Such a small thing.

Maybe because the correct semantics aren't that obvious?  Sun has both a
bootclasspath & classpath; gcj does not.  There is no simple way to
distinguish classes that are linked into the final executable (whether 
static or not) from libgcj classes.

If there is agreement that the best action is assigning no classloader
to java.* and gnu.* classes, and a singleton to everything else loaded at
startup, then we can do that.

You can also use Per's SharedLibLoader (which will be in 3.1) to load
native code in a real classloader context.  Perhaps this ought to be
the default for all dlopen'ed code.

Jeff


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