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"

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None
    • b80
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: