GCC 4.0 RC1 Available

Per Bothner per@bothner.com
Tue Apr 12 18:23:00 GMT 2005


Mark Wielaard wrote:
> I tried to replicate this issue with some simple example,
> ...
> $ gcj -C CL.java
> $ CLASSPATH=.:/:/usr:/random gij CL
> gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/,file:/usr/],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

Try compiling to native:

$ gcj -o CL CL.java --main=CL
$ CLASSPATH=.:/:/usr:/random ./CL
gnu.gcj.runtime.SystemClassLoader{urls=[file:./], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

(Of course to be picky "file:/usr/" is not a valid URL ...)
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Java mailing list