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

Avoid reflection in sun.tools.common.ProcessHelper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 14
    • 14
    • hotspot
    • svc
    • b16

      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.

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

              Created:
              Updated:
              Resolved: