You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/10/31 14:13:13 UTC

[jira] [Commented] (AMQ-4145) IntrospectionSupport does not convert from primitive to Wrapper classes appropriately

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

Timothy Bish commented on AMQ-4145:
-----------------------------------

Got a test case ?
                
> 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