Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901452

Make finding process id in timeout handler overridable

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: jtreg4.1
    • Fix Version/s: jtreg4.1
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      Currently JTreg skips timeout handler execution in cases process id isn't found. That makes it impossible to run timeout handler w/ pre JDK 9 as stable jdk on non-unix systems.

      Moving PID determination to custom timeout handler logic will allow us to use custom logic to get pid, e.g. use win32 API to get PID from j.l.ProcessImpl on windows platforms.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iignatyev Igor Ignatyev
              Reporter:
              iignatyev Igor Ignatyev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: