[
https://issues.apache.org/jira/browse/FLUME-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487512#comment-13487512
]
Mike Percy commented on FLUME-1673:
-----------------------------------
Hari, lgtm, let me run the unit tests and commit this tomorrow.
> 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.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