JNI should be in core