private static int NewGlobalRef                    (int envHandler) { if (verboseJNI) VM.sysWrite("JNI called: NewGlobalRef                     \n");  VM_Scheduler.traceback("JNI ERROR: NewGlobalRef not implemented yet."); VM.sysExit(200); return NEWGLOBALREF ;
private static int NewGlobalRef(int envJREF, int objectJREF) { if (verboseJNI) VM.sysWrite("JNI called: NewGlobalRef\n"); try { VM_JNIEnvironment env = VM_Thread.getCurrentThread().getJNIEnv(); Object obj1 = (Object) env.getJNIRef(objectJREF); return VM_JNIGlobalRefTable.newGlobalRef( obj1 ); } catch (Throwable whatever) { VM_JNIEnvironment env = VM_Thread.getCurrentThread().getJNIEnv(); env.recordException(whatever); return 0; }
  private static int NewGlobalRef                    (int envHandler) {    if (verboseJNI) VM.sysWrite("JNI called: NewGlobalRef                     \n");       VM_Scheduler.traceback("JNI ERROR: NewGlobalRef not implemented yet.");    VM.sysExit(200);    return NEWGLOBALREF ;   }