classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCJ jni.h fixes


From: Tom Tromey
Subject: Re: GCJ jni.h fixes
Date: 27 Oct 2001 12:28:08 -0600

>>>>> "Brian" == Brian Jones <address@hidden> writes:

Brian> DefineClass missing const char * argument

We have this:

  jclass   (*DefineClass)                  (JNIEnv *, jobject,
                                            const jbyte *, jsize);

To me this looks the same as the JNI spec:

    
http://java.sun.com/products/jdk/1.2/docs/guide/jni/spec/functions.doc.html#15986

Brian> GetStringLength return type is jsize, not jint (although these
Brian> are the same)

Thanks, I fixed this.

Brian> GetStringUTFChars return type is const jbyte *, not const char*

We comply with the JNI 1.2 spec:

    
http://java.sun.com/products/jdk/1.2/docs/guide/jni/spec/functions.doc.html#17265

Where are you looking?

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]