if (verboseJNI) VM.sysWrite("JNI called: CallLongMethod  \n");
if (traceJNI) VM.sysWrite("JNI called: CallLongMethod  \n");
  private static long CallLongMethod(int envJREF, int objJREF, int methodID)    throws Exception {      if (verboseJNI) VM.sysWrite("JNI called: CallLongMethod  \n");        VM_JNIEnvironment env;      try {        // dereference the object instance        env = VM_Thread.getCurrentThread().getJNIEnv();            Object obj =  env.getJNIRef(objJREF);        Object returnObj = VM_JNIEnvironment.invokeWithDotDotVarArg(obj, methodID,                                                                     VM_Type.LongType, false);        return VM_Reflection.unwrapLong(returnObj);     // should be a wrapper for a long value      } catch (Throwable unexpected) {        env = VM_Thread.getCurrentThread().getJNIEnv();        env.recordException(unexpected);        return 0;      }    }