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

Make jrunscript's init.js to work on nashorn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • None
    • b84
    • generic
    • generic

      There are constructors like "importPackage" used in init.js of jrunscript tool which are not available by default in nashorn. Also, number of functions defined in nashorn are redefined - like "load", "quit", "exit" etc. init.js script should check if these are undefined before redefining such functions.

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

              Created:
              Updated:
              Resolved: