[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 18:26:00 EDT 2018


James Perkins created LOGMGR-198:
------------------------------------

             Summary: 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


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