Update the reference of submodule plugin-x.

Solve memory leaks in JNI methods.