public static Object newInstance(Class componentType, int size) throws NegativeArraySizeException { if(componentType == null) throw new NullPointerException(); if(size < 0) throw new NegativeArraySizeException();
public static Object newInstance(Constructor c, Object args[]) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
  public static Object newInstance(Class componentType, int size) throws NegativeArraySizeException {    if(componentType == null)      throw new NullPointerException();    if(size < 0)      throw new NegativeArraySizeException();    VM_Array arrayType = java.lang.JikesRVMSupport.getTypeForClass(componentType).getArrayTypeForElementType();    if (!arrayType.isInitialized()) {      arrayType.resolve();      arrayType.instantiate();      arrayType.initialize();    }    Object[] tib = arrayType.getTypeInformationBlock();    int allocator = VM_Interface.pickAllocator(arrayType);    return VM_Runtime.resolvedNewArray(size, arrayType.getInstanceSize(size), tib, allocator);  }