[jboss-jira] [JBoss JIRA] Commented: (JBAS-5108) Twiddle should print out 'invoke' results, even when no propertyeditor for the returned object is found

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Tue Mar 25 04:57:40 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAS-5108?page=comments#action_12404363 ] 
            
Dimitris Andreadis commented on JBAS-5108:
------------------------------------------

The original diagnosis looks wrong to me. It's not a matter of having a property editor for HashMaps (which doesn't make sense, anyway, if it is only to do a toString() on the hashmap), rather fix twiddle to call toString() on the returned object, when no property editor is found. In fact, looking up property editors just for printing things out is unecessary as well, but I left if there anyway.

> Twiddle should print out 'invoke' results, even when no propertyeditor for the returned object is found
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-5108
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5108
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Management services
>    Affects Versions:  JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA
>            Reporter: Jimmy Wilson
>         Assigned To: Dimitris Andreadis
>            Priority: Minor
>             Fix For: JBossAS-5.0.0.CR1, JBossAS-4.2.3.GA
>
>         Attachments: HashMapEditor.java
>
>
> Twiddle, for example, needs a HashMap to String property editor (it does not need the reverse) so that results of MBean invocations that return HashMaps can be properly displayed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list