Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-516

Add support for Throwable.getSuppressed()

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.1.0
    • 0.9.29
    • None
    • None

    Description

      See http://old.nabble.com/Java-7-automatic-resource-management-and-suppressed-exceptions-to31821324.html

      Java SE 7 adds a new feature to Throwable. http://www.oracle.com/technetwork/articles/java/trywithresources-401775.html explains this in detail.

      Relevant for us is the following new method:
      Throwable[] getSuppressed()

      It can optionally contain a list of Throwables that were suppressed by the new Java SE 7 try-with-resource functionality.

      We need to add support for that method be means of reflection.

      Attachments

        Activity

          People

            tony19 Tony Trinh
            jhuxhorn Joern Huxhorn
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: