private static int NewShortArray(JNIEnvironment env,int length){
  if (traceJNI)   VM.sysWrite("JNI called: NewShortArray  \n");
  RuntimeEntrypoints.checkJNICountDownToGC();
  try {
    short[] newArray=new short[length];
    return env.pushJNIRef(newArray);
  }
 catch (  Throwable unexpected) {
    if (traceJNI)     unexpected.printStackTrace(System.err);
    env.recordException(unexpected);
    return 0;
  }
}

private static int NewShortArray ( JNIEnvironment env , int length ) { if ( traceJNI ) VM . sysWrite ( "JNI called: NewShortArray  \n" ) ; RuntimeEntrypoints . checkJNICountDownToGC ( ) ; try { short [ ] newArray = new short [ length ] ; return env . pushJNIRef ( newArray ) ; } catch ( Throwable unexpected ) { if ( traceJNI ) unexpected . printStackTrace ( System . err ) ; env . recordException ( unexpected ) ; return 0 ; } }
newshortarray : create a new short array
