Avoid reflection in sun.tools.common.ProcessHelper

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 14
    • Affects Version/s: 14
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: