Hi,
I wrote simple java program which is calling jni function written in c. Java through native function pass int array, native function made some changes and then call release jni function. In windows xp everything is working fine, but in windows 7 x64 java vm crash on ReleaseIntArrayElements.
carr = (*env)->GetIntArrayElements(env, arr, NULL);
for (i=0; i<10; i++) {
sum += carr[i];
}
(*env)->ReleaseIntArrayElements(env,arr, carr, 0);