You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/10/26 17:27:58 UTC

[jira] [Commented] (AMQ-6483) KahaDBStore getMessageSize mistakenly uses int cast on value that should be long

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

ASF subversion and git services commented on AMQ-6483:
------------------------------------------------------

Commit 1a91decf9f6dd7305dd91ae6769df78cc4758c82 in activemq's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=1a91dec ]

https://issues.apache.org/jira/browse/AMQ-6483

Fix conversion from long to int and back to long again. 

> KahaDBStore getMessageSize mistakenly uses int cast on value that should be long
> --------------------------------------------------------------------------------
>
>                 Key: AMQ-6483
>                 URL: https://issues.apache.org/jira/browse/AMQ-6483
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: KahaDB
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 5.15.0, 5.14.2
>
>
> Casting and argument typing on the execution in KahaDBStore getMessageSize results in casting a long down to int only to cast back up to long again.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)