>>>>> "Brian" == Brian Jones <[EMAIL PROTECTED]> 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

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to