[
https://issues.apache.org/jira/browse/ZOOKEEPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671278#action_12671278
]
Patrick Hunt commented on ZOOKEEPER-302:
----------------------------------------
the extra log/rethrow is just there because sun messed up on
malformedobjectnameexceptin - they don't include the name that was malformed,
which makes debugging hard.
So -- I log then rethrow, the calling code will actually log the exception and
then handle in some way - this log is just for context when reviewing the log.
I could have wrapped the exception with another, but I didn't want to do that
for this patch... I think we really need to take a hard look at this
mbeanregistry stuff anyway, it will probably go away in the end...
> Quote values in JMX ObjectNames
> --------------------------------
>
> Key: ZOOKEEPER-302
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-302
> Project: Zookeeper
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Tom White
> Attachments: ZOOKEEPER-302.patch, zookeeper-302.patch
>
>
> Some characters are not allowed in ObjectName values and need quoting, see
> http://java.sun.com/javase/6/docs/api/javax/management/ObjectName.html.
> This came up with IPv6 addresses which contain a colon character.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.