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

nashorn should comply with the v8 stack trace api

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • 9
    • core-libs

      The v8 stack trace api is documented at
          https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
      For Avatar to be able to work with stack traces compatibly with node, nashorn should follow the v8 stack trace api convention as closely as possible.

      depd [https://www.npmjs.org/package/depd] is a popular (more than half a million downloads/month) module that uses the v8 stack api to introspect the call stack. Recent versions of express [https://www.npmjs.org/package/express], a very popular module (1.3 million downloads/month, #6 most depended upon) depend upon depd. Express will not work on avatar.js unless depd's stack introspection is supported by nashorn, so this is a high priority for Avatar.

        1. stack.js
          3 kB
          Michel Trudeau

            sundar Sundararajan Athijegannathan
            akhil Akhil Arora (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: