This is the mail archive of the java-patches@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: Patch: RFA for 4.0: use system class loader


Per Bothner wrote:
It fails in:
   reflectClass = Class.forName(getInternalName().replace('/', '.'),
            false, getClass().getClassLoader());

Doing a
CLASSPATH=. make classes2.class
works. The classloader is:
gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}


Shouldn't "." be in the default CLASSPATH, if not specified?
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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