Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8216134

(process) ProcessBuilder startPipeline does not hide piped streams

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • 12
    • core-libs
    • None
    • b03
    • generic
    • windows

      The Windows implementation of ProcessImpl builds the pipeline and correctly pipes the inputs and outputs but the returned Processes do not return the null stream from getInputStream for all but the last process.

      The spec for startPipeline says:
      "The {@link Process#getInputStream standard output} of all processes
      except the last process are null input streams."

      A bug in the test hid the problem.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: