Robbie Gemmell created PROTON-894: ------------------------------------- Summary: ErrorCondition 'info' map should be typed to enforce required use of Symbol keys Key: PROTON-894 URL: https://issues.apache.org/jira/browse/PROTON-894 Project: Qpid Proton Issue Type: Bug Components: proton-j Affects Versions: 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.9.1 Reporter: Robbie Gemmell
The 'info' field of amqp-error [1] condition is of type 'fields' [2], a Symbol keyed map. The 'info' map in the ErrorCondition object should thus be typed for Symbol keys, whereas currently it is not typed at all implying use of any type is permissable, e.g. the common use of String keys. [1] http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-error [2] http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-fields -- This message was sent by Atlassian JIRA (v6.3.4#6332)