activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Posta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4145) IntrospectionSupport does not convert from primitive to Wrapper classes appropriately
Date Wed, 31 Oct 2012 13:15:13 GMT

    [ https://issues.apache.org/jira/browse/AMQ-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487750#comment-13487750
] 

Christian Posta commented on AMQ-4145:
--------------------------------------

Yep, working on one right now :)
                
> IntrospectionSupport does not convert from primitive to Wrapper classes appropriately
> -------------------------------------------------------------------------------------
>
>                 Key: AMQ-4145
>                 URL: https://issues.apache.org/jira/browse/AMQ-4145
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.7.0
>            Reporter: Christian Posta
>
> In the TcpTransportServer#handleSocket method, we see that the default values for certain
options (among them, trace, maxInactivityDuration, soTimeout, etc) are converted to their
wrapper equivalents. 
> However in IntrospectionSupport#convert(Object value, Class to) the conversion is not
done properly. It always throws the IllegalArgumentException. 
> Found in this message trail, although can be seen in other attempts to set variables
directly on the transport server.
> Possibly related to changes for AMQ-3797 ??

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message