activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattias Jiderhamn (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3797) org.apache.activemq.util.StringArrayEditor causes classloader leaks
Date Tue, 03 Apr 2012 07:20:26 GMT
org.apache.activemq.util.StringArrayEditor causes classloader leaks
-------------------------------------------------------------------

                 Key: AMQ-3797
                 URL: https://issues.apache.org/jira/browse/AMQ-3797
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.4.3
            Reporter: Mattias Jiderhamn


A static block in org.apache.activemq.util.IntrospectionSupport registers org.apache.activemq.util.StringArrayEditor
with java.beans.PropertyEditorManager. In a web application environment, this will cause classloader
leaks, since java.beans.PropertyEditorManager keeps a strong reference to the editor class.

ActiveMQ should at least provide a graceful means of deregistering org.apache.activemq.util.StringArrayEditor
(by calling java.beans.PropertyEditorManager.registerEditor() again with editor class null).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message