[logback-dev] [JIRA] Commented: (LBCLASSIC-276) Add support for Throwable.getSuppressed()

Joern Huxhorn (JIRA) noreply-jira at qos.ch
Sun Jun 12 16:32:51 CEST 2011


    [ http://jira.qos.ch/browse/LBCLASSIC-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12033#action_12033 ] 

Joern Huxhorn commented on LBCLASSIC-276:
-----------------------------------------

Implemented basic support.

Please see https://github.com/ceki/logback/pull/16

> Add support for Throwable.getSuppressed()
> -----------------------------------------
>
>                 Key: LBCLASSIC-276
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-276
>             Project: logback-classic
>          Issue Type: New Feature
>    Affects Versions: 0.9.29
>            Reporter: Joern Huxhorn
>            Assignee: Logback dev list
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list