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

(process) ProcessBuilder startPipeline does not hide piped streams

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: