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

Add support for Throwable.getSuppressed()

    Details

    • Type: New Feature
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.29
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              tony19 Tony Trinh
              Reporter:
              jhuxhorn Joern Huxhorn
            • Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: