Skip to content

Commit 799da54

Browse files
committed
Merge branch '2.9' into 2.10
2 parents f3f77d9 + 2a5d022 commit 799da54

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

release-notes/VERSION-2.x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Project: jackson-databind
1414
#2060: `UnwrappingBeanPropertyWriter` incorrectly assumes the found serializer is
1515
of type `UnwrappingBeanSerializer`
1616
(reported by Petar T)
17+
#2082: `FactoryBasedEnumDeserializer` should be cachable
1718

1819
2.9.6 (12-Jun-2018)
1920

src/main/java/com/fasterxml/jackson/databind/deser/std/FactoryBasedEnumDeserializer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ public Boolean supportsUpdate(DeserializationConfig config) {
9999
return Boolean.FALSE;
100100
}
101101

102+
// since 2.9.7: should have been the case earlier but
103+
@Override
104+
public boolean isCachable() { return true; }
105+
102106
@Override
103107
public Object deserialize(JsonParser p, DeserializationContext ctxt) throws IOException
104108
{

0 commit comments

Comments
 (0)