You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/11 00:19:11 UTC
[jira] [Commented] (QPIDJMS-140) JmsMessage.copy method incorrectly
assigns readOnlyBody to readOnlyProperties
[ https://issues.apache.org/jira/browse/QPIDJMS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15051831#comment-15051831 ]
ASF subversion and git services commented on QPIDJMS-140:
---------------------------------------------------------
Commit b9627fb3a2252e7d58cb43eee1667e7b19ca1362 in qpid-jms's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=b9627fb ]
QPIDJMS-140 Copy the correct value for readOnlyProperties during message
copy.
> JmsMessage.copy method incorrectly assigns readOnlyBody to readOnlyProperties
> -----------------------------------------------------------------------------
>
> Key: QPIDJMS-140
> URL: https://issues.apache.org/jira/browse/QPIDJMS-140
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.6.0
> Reporter: Chris Richardson
> Fix For: 0.7.0
>
>
> Error on line 60 of JmsMessage.java:
> protected void copy(JmsMessage other) {
> this.readOnlyBody = other.readOnlyBody;
> this.readOnlyProperties = other.readOnlyBody;
> should be
> this.readOnlyProperties = other.readOnlyProperties;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org