-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.2.0
-
None
-
Release Notes
-
-
Documented as Resolved Issue
-
NEW
When a ParameterizedType is not a collection, map, ... JBoss assumes it is a Class and fails with the ClassCastException below. ParameterizedType should get the rawType from ParameterizedType for the Class
Caused by: java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
at org.jboss.mx.mxbean.MXBeanUtils.getOpenType(MXBeanUtils.java:98)
at org.jboss.mx.mxbean.MXBeanMetaData.buildParameter(MXBeanMetaData.java:332)
at org.jboss.mx.mxbean.MXBeanMetaData.buildConstructor(MXBeanMetaData.java:318)
at org.jboss.mx.mxbean.MXBeanMetaData.buildConstructors(MXBeanMetaData.java:302)
at org.jboss.mx.mxbean.MXBeanMetaData.build(MXBeanMetaData.java:199)
... 150 more