Fixed JNI reference.