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

Avoid reflection in sun.tools.common.ProcessHelper

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc
    • Resolved In Build:
      b16

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              clanger Christoph Langer
              Reporter:
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: