JNI interfaces including JNI downcall, JNI upcall and JNI invoke