Fix bug
Update document JNI API.