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

Error stack format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None

    Description

      The "stack" field of an Error (thrown or captured) should be:
      {error.toString()}\n
      \tat {Type}.{Function}({file path}:{line}:{column})\n
      ...

      Some node applications are expecting the stack format to follow roughly this rule.

      Attachments

        Issue Links

          Activity

            People

              sundar Sundararajan Athijegannathan
              jfdenise Jean-Francois Denise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: