Updating: improving contrib/JNI/ATSarrayptr