[kaffe] ARM: unable to load .class files - Help required

Dalibor Topic robilad at kaffe.org
Mon Oct 11 21:28:42 PDT 2004


Thomas Winkler wrote:
> Hi again,

Hallo Thomas,

thanks for digging into it.

> In the meanwhile we investigated the problem a little further and found out
> the following:
> 
> In libraries/javalib/java/io/File.java we added a debug output into function
> "length". The file length that is reported by the lengthInternal call is not
> the correct one.
> 
> Going a little deeper into the source we added a debug statement into
> libraries/clib/io/File.c in function "java_io_File_lengthInternal" (right
> before it returns). At this point the reported lenght of the file is still
> ok.
> 
> What we could not find out is what is going on between the c function and the
> java function. We didn't manage to get gdb working correctly.
> If someone could explain what is going on (which code is executed) between
>  the 2 calls this would be really great.

The File code has changed quite a bit in CVS, it's merged with GNU 
Classpath now. Could you give it a spin and see if that works better for 
you?

cheers,
dalibor topic




More information about the kaffe mailing list