darwin and java status

Andreas Tobler toa@pop.agri.ch
Thu Feb 7 03:46:00 GMT 2002



Bryce McKinlay wrote:
 
> According to this, URLClassLoader.findResource() is calling
> _Jv_CheckCast with a null class argument. Which is odd. Could it have
> been miscompiled?
> 
> I guess setting classpath might cause URLClassLoader to take a different
> code path, which is perhaps why the crash didn't occur there?

I unset the CLASSPATH in the shell.

Here the output of: gcj -v -C hello.java (gij hello works then!)

Reading specs from /Volumes/reserved1/gcctmp/lib/gcc-lib/powerpc-apple-darwin5.2/3.1/specs
Configured with: ../gcc/configure --prefix=/Volumes/reserved1/gcctmp
--enable-languages=c,c++,java --enable-libgcj --enable-sjlj-exceptions
--disable-threads --disable-java-gc --disable-shared
Thread model: single
gcc version 3.1 20020205 (experimental)
 /Volumes/reserved1/gcctmp/lib/gcc-lib/powerpc-apple-darwin5.2/3.1/jc1
hello.java -fPIC -quiet -dumpbase hello.java -g1 -version -fsyntax-only
-femit-class-files -o /dev/null
GNU Java version 3.1 20020205 (experimental) (powerpc-apple-darwin5.2)
        compiled by GNU C version 3.1 20020205 (experimental).
Class path starts here:
    ./
    /Volumes/reserved1/gcctmp/share/libgcj.jar/ (system) (zip)
[titanium:~] andreast% 

So I apologize for the noise. It seems that I have had an erroneous
meaning about this CLASSPATH and this led me to completely wrong path.
>From the above I take that I use the gnu-java and NOT the Apple
installed sun, correct?

Sorry again,

and THANKS,

Andreas



More information about the Java mailing list