[Info-vax] JNI problem on I64
hb
end.of at inter.net
Wed Jan 26 04:50:27 EST 2022
On 1/26/22 01:39, Arne Vajhøj wrote:
> Code outline:
>
> ... (JNIEnv *cntx, jobject baobj)
> ...
> signed char *buf;
> ...
> buf = (*cntx)->GetByteArrayElements(cntx, baobj, NULL);
> ...
> ...
> ...
> (*cntx)->ReleaseByteArrayElements(cntx, baobj, buf, 0);
>
> VMS Alpha 8.4 with Java 1.5 : works fine
>
> VMS I64 8.4 with Java 8 : crashes (the output is attached below)
> ...
Just to make sure it isn't a 32-/64-bit problem: how do you compile?
Java 8 on VMS requires JNIs to use 64-bit pointers.
More information about the Info-vax
mailing list