if (verboseJNI) VM.sysWrite("JNI called: GetStaticObjectField  \n");
if (traceJNI) VM.sysWrite("JNI called: GetStaticObjectField  \n");
  private static int GetStaticObjectField(int envJREF, int classJREF, int fieldOffset) {    if (verboseJNI) VM.sysWrite("JNI called: GetStaticObjectField  \n");    VM_JNIEnvironment env;    try {      int slot = fieldOffset>>2;      env = VM_Thread.getCurrentThread().getJNIEnv();      if (slot<VM_Statics.getNumberOfSlots() && VM_Statics.isReference(slot)) {        // place this reference in the stack of the JNI environment        // and obtain its JREF index to return        Object ref =  VM_Statics.getSlotContentsAsObject(slot);        return env.pushJNIRef(ref);            } else {        env.recordException(new Exception("invalid field ID in JNI GetStaticObjectField"));        return 0;      }    } catch (Throwable unexpected) {      env = VM_Thread.getCurrentThread().getJNIEnv();      env.recordException(unexpected);      return 0;    }  }