[jboss-jira] [JBoss JIRA] (LOGMGR-198) Closing attachments on a logger may result in an UnsupportedOperationException

James Perkins (JIRA) issues at jboss.org
Thu Jul 5 19:03:00 EDT 2018


     [ https://issues.jboss.org/browse/LOGMGR-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated LOGMGR-198:
---------------------------------
    Fix Version/s: 2.1.4.Final


> Closing attachments on a logger may result in an UnsupportedOperationException
> ------------------------------------------------------------------------------
>
>                 Key: LOGMGR-198
>                 URL: https://issues.jboss.org/browse/LOGMGR-198
>             Project: JBoss Log Manager
>          Issue Type: Bug
>            Reporter: James Perkins
>            Assignee: James Perkins
>             Fix For: 2.1.4.Final
>
>
> In some cases where a logger has a single attachment and the {{close()}} is invoked an {{UnsupportedOperationException}} may be thrown. This is due to the fact that a {{Collections.singletonMap()}} map is used which is immutable. 



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list