> GetStringUTFChars returns "const char *" which is much > more logical and seems to be the right thing. JNI 1.1 spec says it > should return "const jbyte *". I search a little bit with google and > jni.h in other open source projects use "const char *" too. Now I > really wonder what we should do ? Should we leave it like it is and > cast to "const char *" in all instances we use GetStringUTFChars in out > own code or should we just apply the attached patch to change our > jni.h.
Sun's own jni.h uses "const char*" This may be a typo in the JNI 1.1 spec as the corresponding ReleaseStringUTFChars takes a "const char*" too. David Holmes _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

