VM.sysWrite("JNI ERROR: UnregisterNatives not implemented yet."); VM.sysExit(VM.exitStatusUnsupportedInternalOp); return -1;
try {   Class jcls = (Class) env.getJNIRef(classJREF); VM_Type type = java.lang.JikesRVMSupport.getTypeForClass(jcls); if (!type.isClassType()) { env.recordException(new NoClassDefFoundError()); return -1; }  VM_Class klass = type.asClass(); if (!klass.isInitialized()) { return 0; }  klass.unregisterNativeMethods(); return 0; } catch (Throwable unexpected) { if (traceJNI) unexpected.printStackTrace(System.err); env.recordException(unexpected); return -1; }
  private static int UnregisterNatives(VM_JNIEnvironment env) {    if (traceJNI) VM.sysWrite("JNI called: UnregisterNatives  \n");    VM.sysWrite("JNI ERROR: UnregisterNatives not implemented yet.");    VM.sysExit(VM.exitStatusUnsupportedInternalOp);    return -1;   }