jdk.scripting.nashorn.shell (jjs) module should use optional dependency for java.compiler module

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 10
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b33
    • generic
    • generic

       jjs (jdk.scripting.nashorn.shell module) uses javac for tab-completing Java packages, classes in interactive mode.

      jjs uses java.compiler module to check & use jdk.compiler indirectly via java.compiler's ToolProvider interface. If javac is not found, jjs will use slightly reduced functionality (fall back to using jrt file system).

      jjs should use optional dependency for java.compiler module.

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: