Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231297 java/lang/ProcessBuilder/Basic.java test fails intermittently
  3. JDK-8263729

[test] divert spurious output away from stream under test in ProcessBuilder Basic test

XMLWordPrintable

    • b15

        Intermittent failures on Windows in a test of destroying the child are caused by spurious output on the stream being tested. The test requires the stream to be blocked with no bytes expected.
        The destroy of the child process may have unpredictable effects that are reported by the vm as log messages.

        Diverting output from the VM away from the stream under test and redirect the output to the inherited file descriptor so it appears in the output of the test.
        The fix applies to all platforms, though the spurious output was only seen on Windows.

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

                Created:
                Updated:
                Resolved: