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

Make jrunscript's init.js to work on nashorn

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: