activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Resolved] (AMQ-3797) org.apache.activemq.util.StringArrayEditor causes classloader leaks
Date Mon, 03 Sep 2012 08:38:07 GMT


Claus Ibsen resolved AMQ-3797.

       Resolution: Fixed
    Fix Version/s: 5.7.0
         Assignee: Claus Ibsen

Okay I have refactored the code to not use StringArrayEditor as a JDK property editor, and
thus we dont enlist it to the property editor manager. Which then should fix the leak.

> org.apache.activemq.util.StringArrayEditor causes classloader leaks
> -------------------------------------------------------------------
>                 Key: AMQ-3797
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.4.3
>            Reporter: Mattias Jiderhamn
>            Assignee: Claus Ibsen
>             Fix For: 5.7.0
> 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
For more information on JIRA, see:

View raw message