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

jtreg TimeoutHandler should use renamed Process.pid method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: jt4.2
    • Fix Version/s: jtreg4.2
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: