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

[tests] Replace JPS and stdout based PID retrieval by Process.getPid()

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • core-svc
    • b22

      Many tests currently use the combination of JPS output parsing and the target app stdout parsing to obtain the target app PID,

      While this works it is cumbersome and can lead to intermittent failures due to timeouts or implementation problems (cygwin).

      Rather than using these workarounds the new API Process.getPid() should be used.

            jbachorik Jaroslav BachorĂ­k
            jbachorik Jaroslav BachorĂ­k
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: