field.setIntValue(obj,value);
field.setIntValueUnchecked(obj,value);
  private static void SetIntField(int envJREF, int objJREF, int fieldIndex1, int value) {    if (traceJNI) VM.sysWrite("JNI called: SetIntField  \n");    int fieldIndex = fieldIndex1-1;    VM_JNIEnvironment env = VM_Thread.getCurrentThread().getJNIEnv();    try {      Object obj =  env.getJNIRef(objJREF);      VM_Field field = VM_JNIEnvironment.getFieldAtIndex(obj, fieldIndex);      if (field != null) {        field.setIntValue(obj,value);          }    } catch (Throwable unexpected) {      if (traceJNI) unexpected.printStackTrace(System.err);      env.recordException(unexpected);    }  }