[cp-patches] Re: Patch: FYI: jni.h fixlet
Archie Cobbs
archie@dellroad.org
Thu Nov 4 01:00:00 GMT 2004
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
More information about the Java-patches
mailing list