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

(process) ProcessBuilder startPipeline does not hide piped streams

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: