unsigned short tempElem;
jshort* test = env->GetShortArrayElements(shortData, NULL);
int size = (sizeof(test) / sizeof(*test)) - 1;
for (int i = 0; i < size; i++) {
tempElem = (unsigned short)test[i]);
printf("[%d] test %u || size = %d\n", i, tempElem, size);
}