You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2012/11/01 05:23:12 UTC

[jira] [Commented] (FLUME-1673) MonitoredCounterGroup publishes this reference to platform MBean server in constructor

    [ https://issues.apache.org/jira/browse/FLUME-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488446#comment-13488446 ] 

Mike Percy commented on FLUME-1673:
-----------------------------------

+1
                
> MonitoredCounterGroup publishes this reference to platform MBean server in constructor
> --------------------------------------------------------------------------------------
>
>                 Key: FLUME-1673
>                 URL: https://issues.apache.org/jira/browse/FLUME-1673
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.2.0
>            Reporter: Mike Percy
>            Assignee: Hari Shreedharan
>         Attachments: FLUME-1673-2.patch, FLUME-1673.patch
>
>
> MonitoredCounterGroup should not publish a reference to "this" in the constructor. There should be a specific method call to do that explicitly.
> An article about why this is problematic: http://www.ibm.com/developerworks/java/library/j-jtp0618/index.html#2

--
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: http://www.atlassian.com/software/jira