This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cp-patches] Re: Patch: FYI: jni.h fixlet


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]