[64208] Fix to resolve primitive and array types, plus move jni conversion of classes to a common class from the several repeats that were out there.