Patch: RFA for 4.0: use system class loader

Per Bothner per@bothner.com
Thu Apr 14 22:37:00 GMT 2005


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/



More information about the Java-patches mailing list