ConverterBase.updatedJPFObj.put(JPFArr, JVMArr);
ConverterBase.objMapJPF2JVM.put(JPFArr, JVMArr);
DynamicElementInfo dei = (DynamicElementInfo) env.getHeap().getModifiable(JPFArr);
ArrayFields fields = (ArrayFields) dei.getFields();
// Array of primitive type
if (dei.getClassInfo().getComponentClassInfo().isPrimitive()){
Utilities.setJPFPrimitiveArr(dei, JVMArr, env);
}
// Array of Non-primitives
else{
int arrSize = fields.arrayLength();
Object[] arrObj = (Object[]) JVMArr;
for (int i = 0; i < arrSize; i++){
int elementValueRef = dei.getReferenceElement(i);