From 73b79b93c477fdbf06a1b3d9488f4b9b38593cd3 Mon Sep 17 00:00:00 2001 From: Cowtowncoder Date: Wed, 17 Dec 2014 11:12:33 -0800 Subject: [PATCH] Fix #656 for 2.3 --- release-notes/VERSION | 3 ++- .../databind/jsontype/impl/AsWrapperTypeDeserializer.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/release-notes/VERSION b/release-notes/VERSION index a5fa8e0f75..4fa7a5d19d 100644 --- a/release-notes/VERSION +++ b/release-notes/VERSION @@ -1,9 +1,10 @@ Project: jackson-databind Version: 2.3.5 (xx-xxx-2014) -#543: Problems resolving self-referential generic types. #496: Wrong result for TextNode("false").asBoolean(true) (reported by Ivar R, ivarru@github) +#543: Problems resolving self-referential generic types. +#656: defaultImpl configuration is ignored for WRAPPER_OBJECT ------------------------------------------------------------------------ === History: === diff --git a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/AsWrapperTypeDeserializer.java b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/AsWrapperTypeDeserializer.java index 675a9ee834..f3160549b6 100644 --- a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/AsWrapperTypeDeserializer.java +++ b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/AsWrapperTypeDeserializer.java @@ -26,7 +26,7 @@ public class AsWrapperTypeDeserializer public AsWrapperTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, Class defaultImpl) { - super(bt, idRes, typePropertyName, typeIdVisible, null); + super(bt, idRes, typePropertyName, typeIdVisible, defaultImpl); } protected AsWrapperTypeDeserializer(AsWrapperTypeDeserializer src, BeanProperty property) {