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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: