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

ProcessTools.startProcess() might leak processes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 8u40, 9
    • core-svc
    • None
    • b33

        ProcessTools.startProcess() is a utility method in testlibrary. It can be invoked with a line predicate and a timeout such that it should wait for a specific line of output (according to the line predicate) from the started process before returning the Process object. If the specified timeout is reached before the line predicate is satisfied an Exception is thrown without first terminating the process, leaving no way to terminate it if it doesn't terminate on itself.

              jbachorik Jaroslav BachorĂ­k
              miauno Mikael Auno (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: