Timothy Bish created PROTON-2084:
------------------------------------
Summary: Cannot encode annotations types with nested Maps that
differ from the annotation key type
Key: PROTON-2084
URL: https://issues.apache.org/jira/browse/PROTON-2084
Project: Qpid Proton
Issue Type: Task
Components: proton-j
Affects Versions: proton-j-0.33.1
Reporter: Timothy Bish
Assignee: Timothy Bish
Fix For: proton-j-0.34.0
The MapType encoder has a fixed key type setting used to enforce the types of
keys for things like MessageAnnoations, DeliveryAnnotations that define Symbol
type keys or ApplicationProperties that use String keys. The current code uses
that fixed type in error when encoding nested Maps within which causes the
encode to fail if the nested map has a differing key type. The MapType encoder
needs to ignore the fixed key type setting when encoding values of the map
entries.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]