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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]