jtreg TimeoutHandler should use renamed Process.pid method

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jtreg4.2
    • Affects Version/s: jt4.2
    • Component/s: tools
    • None
    • b09

      The Process.getPid method was renamed to Process.pid().
      The jtreg TimeoutHandler method getProcessId(): line 150 can't find the getPid method and skips timeout handling.

      See JDK-8178347

      Example output:

      Timeout information:
      Could not find process id for the process that timed out.
      Skipping timeout handling.
      elapsed time (seconds): 120.067
      ----------configuration:(0/0)----------
      ----------System.out:(1/36)----------
      Timeout signalled after 120 seconds

            Assignee:
            Jonathan Gibbons
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: