-d option should dump script source as well

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 8u60, 9
    • Component/s: core-libs
    • b65
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: