JDK-8074569 : Update implementation to use ProcessHandle.current() to get the PID
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2015-03-06
  • Updated: 2020-10-07
  • Resolved: 2020-10-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
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")