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

-d option should dump script source as well

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 8u60, 9
    • 9
    • core-libs
    • b65
    • generic
    • generic

    Backports

      Description

        Many nashorn java apps evaluate code using ScriptEngine.eval or "eval" or "Function". The script itself comes from variety of sources - file, url, string in the code, resource from a jar file etc. Just like -d option dumps generated .class files, it should also dump source scripts to help debugging.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: