Skip to content

Commit d1a15ad

Browse files
committed
Update BasicDeserializerFactory.java
Wrong argument passed for custom EnumKey deserialization
1 parent e5f9cf9 commit d1a15ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)