Update JNIHelpers.cpp