Refactor com.sun.tools.javac.main.CommandLine into a reusable module for other JDK tools

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 15
    • Component/s: tools
    • b26
    • generic
    • generic

      JDK tools support java.util.spi.ToolProvider interface. As part of ToolProvider support, javac supports @argfile for programmatic invocation. Similar support has been requested for other tools (see JDK-8225560 for jlink). If com.sun.tools.javac.main.CommandLine is refactored into a shared module (jdk.internal.opt? or another separate new module?), all JDK tools can use the same and get uniform support for command line parsing.

            Assignee:
            Christian Stein
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: