Skip to content

Commit 2f7a430

Browse files
committed
Merge branch '2.4' into 2.5
2 parents 817a45a + 85282b1 commit 2f7a430

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

release-notes/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Project: jackson-databind
130130

131131
#735: (complete fix) @JsonDeserialize on Map with contentUsing custom deserializer overwrites default behavior
132132
(reported by blackfyre512@github) (regression due to #604)
133+
$744: Custom deserializer with parent object update fails
133134

134135
2.4.5.1 (26-Mar-2015)
135136

src/main/java/com/fasterxml/jackson/databind/ObjectReader.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,10 @@ protected JsonDeserializer<Object> _findRootDeserializer(DeserializationContext
15491549
throws JsonMappingException
15501550
{
15511551
if (_rootDeserializer != null) {
1552-
return _rootDeserializer;
1552+
// 02-Apr-2015, tatu: Patch for #744 (better fix in 2.5.3)
1553+
if (valueType != JSON_NODE_TYPE) {
1554+
return _rootDeserializer;
1555+
}
15531556
}
15541557

15551558
// Sanity check: must have actual type...

0 commit comments

Comments
 (0)