if (verboseJNI) VM.sysWrite("JNI called: NewObjectArray  \n");
if (traceJNI) VM.sysWrite("JNI called: NewObjectArray  \n");
  private static int NewObjectArray(int envJREF, int length, int classJREF, int initElementJREF ) {    if (verboseJNI) VM.sysWrite("JNI called: NewObjectArray  \n");    VM_JNIEnvironment env;    try {      env = VM_Thread.getCurrentThread().getJNIEnv();      Object initElement = (Object) env.getJNIRef(initElementJREF);      Class cls = (Class) env.getJNIRef(classJREF);      Object newArray[] = (Object [])ReflectionSupport.newInstance(cls, length);            for (int i=0; i<length; i++) {        newArray[i] = initElement;      }      return env.pushJNIRef(newArray);      } catch (Throwable unexpected) {      env = VM_Thread.getCurrentThread().getJNIEnv();      env.recordException(unexpected);      return 0;    }  }