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

Update implementation to use ProcessHandle.current() to get the PID

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      Cleanup code that needs the current process pid to use ProcessHandle.current().getPid().

      java.management: sun.management.VMManagementImpl

      Verify that the security of getting the pid is equivalent to the previous usage.
      ProcessHandle requires RuntimePermission("manageProcess")

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: