VM.sysExit(VM.exitStatusBogusCommandLineArg);
VM.sysExit(VM.EXIT_STATUS_BOGUS_COMMAND_LINE_ARG);
  static String[] lateProcessCommandLineArguments() {    for (int i = 0; i<app_name_pos; i++) {      String arg = args[i];      int type = arg_types[i];      if (type == INVALID_ARG) continue;      Prefix p = findPrefix(type);      if (DEBUG) VM.sysWrite(" VM_CommandLineArgs.processCLA("+p.value+arg+")\n");      switch (type) {      case ENVIRONMENT_ARG: // arguments of the form "-Dx=y"        {           int mid = arg.indexOf('=');          if (mid == -1 || mid + 1 == arg.length()) {            VM.sysWrite("vm: bad property setting: \""+arg+"\"\n");            VM.sysExit(VM.exitStatusBogusCommandLineArg);          }          String name  = arg.substring(0, mid);          String value = arg.substring(mid + 1);          System.getProperties().put(name, value);        }        break;      case CLASSPATH_ARG:        // arguments of the form "-classpath a:b:c" or "-cp a:b:c"        VM_ClassLoader.setApplicationRepositories(arg);        break;      case JAR_ARG:        // arguments of the form -jar <jarfile>        java.util.jar.Manifest mf = null;        try {          java.util.jar.JarFile jf = new java.util.jar.JarFile(arg);          mf = jf.getManifest();        } catch(Exception e) {          VM.sysWriteln("IOE: " + e.getMessage());          VM.sysExit(VM.exitStatusBogusCommandLineArg);         }        String s = mf.getMainAttributes().getValue("Main-Class");        if (s == null) {          VM.sysWriteln("The jar file is missing the manifest entry for the main class: "+arg);          VM.sysExit(VM.exitStatusBogusCommandLineArg);        }        // maybe also load classes on the classpath list in the manifest        VM_ClassLoader.setApplicationRepositories(arg);        args[i] = s;        arg_types[i] = APPLICATION_ARG;        app_prefix.count++;      break;      }    }    // get application directives    String[] arglist = getArgs(APPLICATION_ARG);    // Debugging: write out application arguments    if (DEBUG) {      VM.sysWrite("VM.CommandLineArgs(): application arguments "+ arglist.length+"\n");      for (int i = 0; i < arglist.length; i++) {        VM.sysWrite(i+": \""+arglist[i]+"\"\n");      }    }    return arglist;  }