activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (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:13:13 GMT

    [ 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

Mime
View raw message