Skip to content

Commit 07dc0db

Browse files
committed
Merge branch '2.9'
2 parents d42d9b1 + 9a8cb97 commit 07dc0db

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

release-notes/VERSION-2.x

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Project: jackson-databind
1111
(reported by rue-jw@github)
1212
#1855: Blacklist for more serialization gadgets (dbcp/tomcat, spring)
1313
#1868: Class name handling for JDK unmodifiable Collection types changed
14-
(reported by Rob W)
14+
(reported by Rob W)
1515

1616
2.9.3 (09-Dec-2017)
1717

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public Boolean supportsUpdate(DeserializationConfig config) {
193193
/**********************************************************
194194
*/
195195

196-
protected final Object finishBuild(DeserializationContext ctxt, Object builder)
196+
protected Object finishBuild(DeserializationContext ctxt, Object builder)
197197
throws IOException
198198
{
199199
// As per [databind#777], allow returning builder itself

src/test/java/com/fasterxml/jackson/databind/deser/jdk/JDKCollectionsDeserTest.java

+4-5
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@ public void testUnmodifiableSet() throws Exception
5757
assertEquals("[\"java.util.Collections$UnmodifiableSet\",[\"a\"]]", json);
5858

5959
// 04-Jan-2018, tatu: Alas, no way to make this actually work well, at this point.
60-
// In theory could jiggle things back on deser, using one of two ways:
61-
//
62-
// 1) Do mapping to regular Set/List types (abstract type mapping): would work, but get rid of immutability
63-
// 2) Have actually separate deserializer OR ValueInstantiator
64-
60+
// In theory could jiggle things back on deser, using one of two ways:
61+
//
62+
// 1) Do mapping to regular Set/List types (abstract type mapping): would work, but get rid of immutability
63+
// 2) Have actually separate deserializer OR ValueInstantiator
6564
/*
6665
Set<String> result = mapper.readValue(json, Set.class);
6766
assertNotNull(result);

0 commit comments

Comments
 (0)