Tom Tromey <[EMAIL PROTECTED]> writes:

> >>>>> "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> 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?

I'm looking in "The Java Native Interface" ISBN 0-201-32577-2, in
which I have found one error with regards to function index so it is
possible these are errors as well, maybe not.

Brian
-- 
Brian Jones <[EMAIL PROTECTED]>

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

Reply via email to