(process) wrong argument in example for ProcessBuilder

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • b40
    • x86
    • windows_xp

      A DESCRIPTION OF THE PROBLEM :
      The example has:
      pb.directory("myDir");

      but the argument should be a File, not a String.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      pb.directory(new File("myDir"));
      ACTUAL -
      pb.directory("myDir");

      URL OF FAULTY DOCUMENTATION :
      file:///C:/Program%20Files/Java/jdk1.5.0_03/docs/api/java/lang/ProcessBuilder.html
      ###@###.### 2005-05-25 11:58:53 GMT

            Assignee:
            Martin Buchholz
            Reporter:
            Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: