[jboss-jira] [JBoss JIRA] (WFCORE-4710) Wrong BufferPoolMXBean name used in lookup

Brian Stansberry (Jira) issues at jboss.org
Mon Oct 14 21:46:00 EDT 2019


     [ https://issues.jboss.org/browse/WFCORE-4710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned WFCORE-4710:
----------------------------------------

    Assignee: Brian Stansberry  (was: Kabir Khan)


> Wrong BufferPoolMXBean name used in lookup
> ------------------------------------------
>
>                 Key: WFCORE-4710
>                 URL: https://issues.jboss.org/browse/WFCORE-4710
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: JMX
>    Affects Versions: 10.0.0.Final
>            Reporter: Andrew Dinn
>            Assignee: Brian Stansberry
>            Priority: Major
>
> Class BufferPoolMXBeanResource transforms the name of retrieved MXBeans to handle embedded spaces and other special characters by calling method escapeMBeanName. Later on class BufferPoolMXBeanResourceAttributeHandler uses the name to identify the corresponding bean. Unfortunately, when BufferPoolMXBeanResourceAttributeHandler checks that the bean is registered it does not reverse the transformation by calling unescapeMBeanName.
> This causes a lookup failure when the new buffer pool non-volatiel memory MXBean is encountered on JDK14. Although Wildlfy appears to continue running the error message appears to cause failures in some of the Wildfly tests, notably those that check error stream output.
> See the referenced forum thread for full details.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list