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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 9
    • core-libs

      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")

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

              Created:
              Updated:
              Resolved: