VM.sysWrite("JNI ERROR: DefineClass not implemented yet."); VM.sysExit(VM.exitStatusUnsupportedInternalOp); return -1;
VM_Type vmType = null; try { String classString = null; if (!classNameAddress.isZero()) VM_JNIHelpers.createStringFromC(classNameAddress); ClassLoader cl; if (classLoader == 0) cl = VM_Class.getClassLoaderFromStackFrame(1); else cl = (ClassLoader) env.getJNIRef(classLoader);  byte[]  bytecode = new byte[dataLen]; VM_Memory.memcopy(VM_Magic.objectAsAddress(bytecode), data, dataLen);  vmType = VM_ClassLoader.defineClassInternal(classString, bytecode, 0, dataLen, cl); return env.pushJNIRef(vmType.getClassForType()); } catch (Throwable unexpected) { if (traceJNI) unexpected.printStackTrace(System.err); env.recordException(unexpected); return 0; }
  private static int DefineClass(VM_JNIEnvironment env) {    if (traceJNI) VM.sysWrite("JNI called: DefineClass  \n");    VM.sysWrite("JNI ERROR: DefineClass not implemented yet.");    VM.sysExit(VM.exitStatusUnsupportedInternalOp);    return -1;  }