This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCC 4.0 RC1 Available
- From: Per Bothner <per at bothner dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Andrew Haley <aph at redhat dot com>, Eric Botcazou <ebotcazou at libertysurf dot fr>, Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org, java at gcc dot gnu dot org, tromey at redhat dot com
- Date: Mon, 11 Apr 2005 15:33:17 -0700
- Subject: Re: GCC 4.0 RC1 Available
- References: <4259A31D.9050002@codesourcery.com> <200504110049.39673.ebotcazou@libertysurf.fr> <16986.17370.184365.247830@cuddles.cambridge.redhat.com> <425AF16B.10103@bothner.com>
Per Bothner wrote:
I can no longer build Kawa using the 4.0 branch.
Some more information:
The failing statement is:
Class.forName("kawa.lib.prim_syntax", false,
getClass().getClassLoader());
prim_syntax.class exists in the current directory,
which is ../../kawa/lib. The program is run with
CLASSPATH=../..
Printing getClass().getClassLoader() yields:
gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
Note the urls=[file:./]. Looks like it's ignoring the CLASSPATH
environment option.
It works after I do:
mkdir kawa kawa/lib && cp prim_syntax.class kawa/lib
--
--Per Bothner
per@bothner.com http://per.bothner.com/