Skip to content

Commit bcda406

Browse files
committed
Merge branch '2.4' into 2.5
Conflicts: pom.xml release-notes/VERSION
2 parents b02bf06 + c5a5f53 commit bcda406

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

release-notes/VERSION

+6-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,12 @@ Project: jackson-databind
140140
- Added new overload for `JsonSerializer.isEmpty()`, to eventually solve #588
141141
- Improve error messaging (related to [jaxb-annotations#38]) to include known subtype ids.
142142

143-
2.4.6 (not yet released)
143+
2.4.7 (not yet released)
144+
145+
#676: Deserialization of class with generic collection inside depends on
146+
how is was deserialized first time
147+
148+
2.4.6 (23-Apr-2015)
144149

145150
#735: (complete fix) @JsonDeserialize on Map with contentUsing custom deserializer overwrites default behavior
146151
(reported by blackfyre512@github) (regression due to #604)

src/main/java/com/fasterxml/jackson/databind/deser/DeserializerCache.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,9 @@ private JavaType modifyTypeByAnnotation(DeserializationContext ctxt,
563563
private boolean _hasCustomValueHandler(JavaType t) {
564564
if (t.isContainerType()) {
565565
JavaType ct = t.getContentType();
566-
return (ct != null) && (ct.getValueHandler() != null);
566+
if (ct != null) {
567+
return (ct.getValueHandler() != null) || (ct.getTypeHandler() != null);
568+
}
567569
}
568570
return false;
569571
}

0 commit comments

Comments
 (0)