classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: currentClassLoader problem


From: David Holmes
Subject: RE: currentClassLoader problem
Date: Thu, 18 Mar 2004 08:45:05 +1000

Tom,

> In particular, I think a class loader specified by
> java.system.class.loader has to be loaded with the default system
> class loader, but Classpath doesn't do this.

Your reading is correct. In our system the externally defined "system" class
loader must have our default system class loader as a parent otherwise it
could never load a class in our system. I'm doing this by simply by passing
the default loader as the parent in the constructor because at this stage of
initialization Class.forName wouldn't work for us.

David Holmes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]