VM.sysWrite("JNI ERROR: GetStringUTFRegion not implemented yet, exiting ...\n"); VM.sysExit(VM.exitStatusUnsupportedInternalOp); return -1;
try { String str = (String) env.getJNIRef(strJREF);  char[] strChars = java.lang.JikesRVMSupport.getBackingCharArray(str); int strOffset = java.lang.JikesRVMSupport.getStringOffset(str); int strLen = java.lang.JikesRVMSupport.getStringLength(str); if (strLen < start + len) { env.recordException(new StringIndexOutOfBoundsException()); return; }  String region = new String(strChars, strOffset + start, len); byte[] utfcontents = VM_UTF8Convert.toUTF8(region); VM_Memory.memcopy(buf, VM_Magic.objectAsAddress(utfcontents), utfcontents.length); } catch (Throwable unexpected) { if (traceJNI) unexpected.printStackTrace(System.err); env.recordException(unexpected); }
  private static int GetStringUTFRegion(VM_JNIEnvironment env) {    if (traceJNI) VM.sysWrite("JNI called: GetStringUTFRegion \n");       VM.sysWrite("JNI ERROR: GetStringUTFRegion not implemented yet, exiting ...\n");    VM.sysExit(VM.exitStatusUnsupportedInternalOp);    return -1;   }