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

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

    XMLWordPrintable

Details

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

    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

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

              Dates

                Created:
                Updated:
                Resolved: