You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chris Richardson (JIRA)" <ji...@apache.org> on 2015/12/10 23:27:10 UTC

[jira] [Created] (QPIDJMS-140) Copy method incorrectly assigns readOnlyBody to readOnlyProperties

Chris Richardson created QPIDJMS-140:
----------------------------------------

             Summary: 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