Skip to content

Commit e0e97bc

Browse files
committed
Backport #378 in 2.3 branch
1 parent 57af4b4 commit e0e97bc

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

release-notes/VERSION

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Project: jackson-databind
2-
Version: 2.3.1 (28-Dec-2013)
2+
Version: 2.3.2 (xx-xxx-2014)
3+
4+
#378: Fix a problem with custom enum deserializer construction
5+
(reported by BokoEnos@github)
6+
7+
------------------------------------------------------------------------
8+
=== History: ===
9+
------------------------------------------------------------------------
10+
11+
2.3.1 (28-Dec-2013)
312

413
#346: Fix problem deserializing `ObjectNode`, with @JsonCreator, empty
514
JSON Object
@@ -17,10 +26,6 @@ Version: 2.3.1 (28-Dec-2013)
1726
- Fix for [jackson-module-afterburner#38]: need to remove @JacksonStdImpl from
1827
`RawSerializer`, to avoid accidental removal of proper handling.
1928

20-
------------------------------------------------------------------------
21-
=== History: ===
22-
------------------------------------------------------------------------
23-
2429
2.3.0 (13-Nov-2013)
2530

2631
#48: Add support for `InetSocketAddress`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ private KeyDeserializer _createEnumKeyDeserializer(DeserializationContext ctxt,
12691269
// 23-Nov-2010, tatu: Custom deserializer?
12701270
JsonDeserializer<?> custom = _findCustomEnumDeserializer(enumClass, config, beanDesc);
12711271
if (custom != null) {
1272-
return StdKeyDeserializers.constructDelegatingKeyDeserializer(config, type, des);
1272+
return StdKeyDeserializers.constructDelegatingKeyDeserializer(config, type, custom);
12731273
}
12741274

12751275
EnumResolver<?> enumRes = constructEnumResolver(enumClass, config, beanDesc.findJsonValueMethod());

0 commit comments

Comments
 (0)