Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080678 jjs should use jline
  3. JDK-8134260

jjs in jre directory fails with "Could not find or load main class jdk.nashorn.tools.jjs.Main"

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b80
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        After jline integration with jjs, jdk.nashorn.tools.jjs.Main class in jdk.scripting.nashorn.shell module is used as "main" class for "jjs" tool. But this module is a "tools module" and hence not available in JRE. Before this jjs used jdk.nashorn.tools.Shell class (extension loader class) and hence jjs of JRE worked. For jdk9, we need a solution where jjs of JRE can use older main class and jjs of JDK uses newer jline integrated jjs.

          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: