[jboss-jira] [JBoss JIRA] (WFCORE-2645) JMX interface should allow non-string values in the jboss.as.expr JMX domain

Brian Stansberry (JIRA) issues at jboss.org
Thu Jun 22 16:33:00 EDT 2017


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

Brian Stansberry updated WFCORE-2645:
-------------------------------------
    Fix Version/s: 4.0.0.Alpha1


> JMX interface should allow non-string values in the jboss.as.expr JMX domain
> ----------------------------------------------------------------------------
>
>                 Key: WFCORE-2645
>                 URL: https://issues.jboss.org/browse/WFCORE-2645
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Domain Management, JMX
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 4.0.0.Alpha1
>
>
> Perhaps an enhancement, perhaps a bug.
> TypeConverters.SimpleTypeConverter.toModelNode() is casting the value to String in the expression case (i.e. for jboss.as.expr). This means if the client sends a non-string, i.e. something in the type that would be normal in the jboss.as domain, e.g. Boolean, the call will fail with a class cast exception.
> It seems like it would be easy enough to handle non-String. That would allow client code written for jboss.as to more easily deal with jboss.as.expr as well. Our testsuite's JmxManagementInterface client being the specific example that led me to file this. (My work on WFCORE-2633 was impacted when I wanted to use JmxManagementInterface to write a boolean value.) 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list