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

Dead code in jdk.jlink's TaskHelper

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Description

      The private constructor of TaskHelper.PluginsHelper takes a String argument, which is never being used at runtime. Only call site seems to be TaskHelper.OptionsHelper.handleOptions() which passes a null argument. As a result static method createPluginsLayer() is dead too.

        Attachments

          Activity

            People

            Assignee:
            sgehwolf Severin Gehwolf
            Reporter:
            sgehwolf Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: