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

Avoid reflection in sun.tools.common.ProcessHelper

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 14
    • 14
    • hotspot
    • svc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: