summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
authorRobert Godfrey <rgodfrey@apache.org>2013-06-17 11:03:43 +0000
committerRobert Godfrey <rgodfrey@apache.org>2013-06-17 11:03:43 +0000
commit0fb93ca81a3517d66339b3e890282ea4c82546a9 (patch)
treed7e167358ef31fe33d054d6d3c6ee1e4bacd8745 /qpid/java
parentf1fff7e2fae61da8b39ada5df000f9bf86f81fcd (diff)
downloadqpid-python-0fb93ca81a3517d66339b3e890282ea4c82546a9.tar.gz
QPID-4929 : [Java AMQP 1.0 Client] Infinite recursion in encoding of DeliveryAnnotations
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493713 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/DeliveryAnnotationsWriter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/DeliveryAnnotationsWriter.java b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/DeliveryAnnotationsWriter.java
index e22c26b290..f3404d78aa 100644
--- a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/DeliveryAnnotationsWriter.java
+++ b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/DeliveryAnnotationsWriter.java
@@ -60,7 +60,7 @@ public class DeliveryAnnotationsWriter extends AbstractDescribedTypeWriter<Deliv
@Override
protected ValueWriter createDescribedWriter()
{
- return getRegistry().getValueWriter(_value);
+ return getRegistry().getValueWriter(_value.getValue());
}
private static Factory<DeliveryAnnotations> FACTORY = new Factory<DeliveryAnnotations>()