[kaffe] Re: fixing tests/internal
Timothy Stack
stack at cs.utah.edu
Wed Jul 14 14:32:03 PDT 2004
>
> Heya,
>
> it seems that the internal jit tests on CVS head can no longer be built.
> I've tried to write a patch to fix that, but I just managed to make the
> test compile & fail. Any idea what's wrong? I've attached my patch.
The problem is with JNI_GetDefaultJavaVMInitArgs() in jni-base.c, the
JNI_VERSION_1_2 case does not initialize the args from
Kaffe_JavaVMInitArgs like the JNI_VERSION_1_1 case does. So, the
minheap/maxheap values are zero and any allocations just fail.
> cheers,
> dalibor topic
tim
More information about the kaffe
mailing list