Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-j-0.30.0, proton-j-0.31.0, proton-j-0.32.0, proton-j-0.33.0
-
None
Description
While encoding a small/array8 byte array of <=253 elements, the encoder erroneously omits the element count, leading to a broken encoding (those with >=128 elements will fail to encode at all, due to PROTON-2057) that can lead to a decode failure.
This was introduced during proton-j 0.30.0 changes for PROTON-1941.
Attachments
Issue Links
- is caused by
-
PROTON-1941 Add WritableBuffer API for requesting space when writing complex types
- Closed
- relates to
-
PROTON-2057 small/array8 primitive arrays >=128 bytes fail to encode
- Closed