[kaffe] ARM: unable to load .class files - Help required
Dalibor Topic
robilad at kaffe.org
Tue Oct 12 03:03:58 PDT 2004
Thomas Winkler wrote:
> Hello,
>
>
>>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?
>
Hallo Thomas,
thanks for giving it a try. I'm sorry that it didn't work :(
> I just compiled the current CVS code. But this doesn't solve our problem - we
> still get the same errors.
> As my colleague, Markus, reported we think to have tracked down the problem to
> be JNI related. We have written some JNI test code. As long as we are
> returning ints from the c functions it works but it fails for longs.
For a test that you may want to adapt to your needs, check out
test/regression/TestNative.java. It may help you pinpint what goes wrong.
> What we could not figure out is how JNI is implemented. Which JNI functions
> are involved when calling a c function? Please give us a pointer where to
> look at so we can investigate further.
In the CVS, Kaffe's implementation has been merged with the one from GNU
Classpath. The file that has the core native method dispatch in it is
kaffe/kaffevm/jni/jni-callmethod.c, afaict.
Guilhem, could you provide some other pointers where to go hunting for
return value bugs?
cheers,
dalibor topic
More information about the kaffe
mailing list