JDK-8230857 : Avoid reflection in sun.tools.common.ProcessHelper
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-11
  • Updated: 2020-02-04
  • Resolved: 2019-09-23
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.
JDK 14
14 b16Fixed
Related Reports
Relates :  
Description
The new utility class sun/tools/ProcessHelper.java that was added with the change of JDK-8205654 uses reflection to access the platform specific implementation class.
This can be solved more elegantly by leveraging the build system and have a common dummy implementation of sun.tools.ProcessHelper and a specialized linux implementation that overrides the common dummy for Linux builds of the JDK.
Comments
Probably deserves the follow-up backport after JDK-8205654?
04-02-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/577e17cab93f User: clanger Date: 2019-09-23 10:33:24 +0000
23-09-2019