code: private static List<String> fixArguments(List<String> command) {
      if (!IS_OS_WINDOWS) {
        return command;
      }
      List<String> result = new ArrayList<String>(command);
      for (ListIterator it = result.listIterator(); it.hasNext(); ) {
        if ("".equals(it.next())) {
          it.set("\"\"");
        }
      }
      return result;
    }
docs: Fixes the command line arguments on Windows by replacing empty arguments with <code>""</code>. Otherwise these arguments would be just skipped.
  
  @see http://bugs.java.com/view_bug.do?bug_id=7028124
  @see https://bugs.openjdk.java.net/browse/JDK-6518827