Updated JNI to match JB frameworks core