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

Andrew Dinn (Jira) issues at jboss.org
Mon Oct 14 09:32:02 EDT 2019


Andrew Dinn created WFCORE-4710:
-----------------------------------

             Summary: 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: Kabir Khan


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