update jni file. my-build.sh invoke javah to update jni header file.
add save/restore status.
changed for gfan