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

Anonymous functions should not be shown with internal names in script stack trace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Script stack trace shows anonymous functions with internal nashorn generated method names. Just like "runScript" is being shown as "<program>", anonymous functions should be shown as "<anonymous>" rather than internal java method names

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: