GCC 4.0 RC1 Available

Per Bothner per@bothner.com
Wed Apr 13 01:00:00 GMT 2005


Per Bothner wrote:
> However, the Kawa testsuite fails, raising a ClassNotFoundException.
> I'm looking into it.

Hm. This fails, with or without the patch:
 clas = Class.forName(cname);
This works:
 clas = Class.forName(cname, true, getClass().getClassLoader());
This is with make all && make install in the libjav directory.
I'm doing a 'cvs update' and rebuild from a clean tree in case the
problem is an artifact of the way I just rebuilt part of the tree.
BTW, I've always though we should have the compiler rewrite:
 Class.forName(NAME)
to:
 Class.forName(NAME, true, getClass().getClassLoader())
to avoid the fragility and ugliness and performance lossage
of doing the stack trace ...
-- 
	--Per Bothner
per@bothner.com http://per.bothner.com/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /