Change JNI API.