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

Finally block cut the stack of a thrown exception

    XMLWordPrintable

Details

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

    Description

      Test case attached. The Exception is thrown in a function called from a block guarded with a finally.
      The Exception is considered to be thrown in the block although it is called one layer deeper.

      This makes for difficult debugging. Stack trace have not the right depth.

      Attachments

        Activity

          People

            lagergren Marcus Lagergren
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: