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

-d option should dump script source as well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u60, 9
    • 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.

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

                Created:
                Updated:
                Resolved: