]
RH Bugzilla Integration commented on WFLY-7027:
-----------------------------------------------
Peter Palaga <ppalaga(a)redhat.com> changed the Status of [bug
MBeans with ObjectName attributes throw ClassNotFoundException
--------------------------------------------------------------
Key: WFLY-7027
URL:
https://issues.jboss.org/browse/WFLY-7027
Project: WildFly
Issue Type: Bug
Components: JMX
Affects Versions: 10.0.0.Final
Reporter: Dennis Reed
Assignee: Bartosz Baranowski
Fix For: 11.0.0.Alpha1
An MBean with:
public void setObj(javax.management.ObjectName someObject)
<mbean ...>
<attribute name="Obj" />
causes "java.lang.ClassNotFoundException:
javax.management.MalformedObjectNameException from [Module
\"org.jboss.common-beans:main\"
org.jboss.common.beans.property.ObjectNameEditor in that module is used to convert to
ObjectName objects, and requires MalformedObjectNameException but it is not on the
classpath of that module.