qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Parker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-1441) Size calculation for lists is incorrect in Data API
Date Mon, 20 Mar 2017 17:12:41 GMT
Rick Parker created PROTON-1441:

             Summary: Size calculation for lists is incorrect in Data API
                 Key: PROTON-1441
                 URL: https://issues.apache.org/jira/browse/PROTON-1441
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
    Affects Versions: proton-j-0.18.0
            Reporter: Rick Parker

Whilst trying out the Data API I noticed that the serialised form was 8 bytes longer than
expected, with all 8 trailing bytes zeros.  I believe I traced this to what looks to my eye
like a typo in qpid-proton-j/proton-j/src/main/java/org/apache/qpid/proton/codec/impl/ListElement.java
at line 86.  I believe this +=8 should be inside an else statement.  Looking at ArrayElement.java
by comparison that seems to be the case at line 127.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message