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

jtreg TimeoutHandler should use renamed Process.pid method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg4.2
    • jt4.2
    • 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

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

              Created:
              Updated:
              Resolved: