JDK-8030809 : Anonymous functions should not be shown with internal names in script stack trace
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 8u20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-12-19
  • Updated: 2014-07-29
  • Resolved: 2014-01-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20Fixed 9 b02Fixed
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
Comments
Fix pushed to nashorn-jdk9 forest: changeset: 685:8c0524412634 tag: tip user: sundar date: Thu Dec 19 21:53:27 2013 +0530 summary: 8030809: Anonymous functions should not be shown with internal names in script stack trace
19-12-2013