[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Re: Patch: FYI: jni.h fixlet
From: |
Archie Cobbs |
Subject: |
Re: [cp-patches] Re: Patch: FYI: jni.h fixlet |
Date: |
Wed, 3 Nov 2004 18:57:55 -0600 (CST) |
Tom Tromey wrote:
> Mark> Just for the record this comes from the JNI book specification.
> Mark> The online version also listed this as returning jarray:
> Mark> http://java.sun.com/docs/books/jni/html/functions.html#65786
> Mark> But I agree that the spec is probably wrong.
>
> Actually you can see it here:
>
> http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/functions.html#wp21619
>
> These things seem to change; I'm pretty sure this code was correct
> when it was written.
Yep, I can verify it used to be jarray and they changed it.
For Sun at least, the change is backward compatible because their jni.h
just has "typedef jarray jobjectArray". Not so for some other VMs.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com