Testing reflection vs JNI