FIX: missing JNI env pointer refreshing call.