Skip to content

Commit

Permalink
Merge branch '2.4' into 2.5
Browse files Browse the repository at this point in the history
Conflicts:
	pom.xml
	release-notes/VERSION
  • Loading branch information
cowtowncoder committed May 8, 2015
2 parents b02bf06 + c5a5f53 commit bcda406
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ Project: jackson-databind
- Added new overload for `JsonSerializer.isEmpty()`, to eventually solve #588
- Improve error messaging (related to [jaxb-annotations#38]) to include known subtype ids.

2.4.6 (not yet released)
2.4.7 (not yet released)

#676: Deserialization of class with generic collection inside depends on
how is was deserialized first time

2.4.6 (23-Apr-2015)

#735: (complete fix) @JsonDeserialize on Map with contentUsing custom deserializer overwrites default behavior
(reported by blackfyre512@github) (regression due to #604)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ private JavaType modifyTypeByAnnotation(DeserializationContext ctxt,
private boolean _hasCustomValueHandler(JavaType t) {
if (t.isContainerType()) {
JavaType ct = t.getContentType();
return (ct != null) && (ct.getValueHandler() != null);
if (ct != null) {
return (ct.getValueHandler() != null) || (ct.getTypeHandler() != null);
}
}
return false;
}
Expand Down

0 comments on commit bcda406

Please sign in to comment.