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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b33
    • CPU:
      generic
    • OS:
      generic

      Description

       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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: