Skip to content

Commit 03ea0be

Browse files
committed
Merge branch '2.8' into 2.9
2 parents 5939b1a + 038b471 commit 03ea0be

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

release-notes/VERSION-2.x

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,11 @@ Project: jackson-databind
190190

191191
2.8.11.1 (not yet released)
192192

193-
#1872 `NullPointerException` in `SubTypeValidator.validateSubType` when
193+
#1872: `NullPointerException` in `SubTypeValidator.validateSubType` when
194194
validating Spring interface
195195
(reported by Rob W)
196+
#1899: Another two gadgets to exploit default typing issue in jackson-databind
197+
(reported by OneSourceCat@github)
196198

197199
2.8.11 (24-Dec-2017)
198200

src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ public class SubTypeValidator
5151
// [databind#1855]: more 3rd party
5252
s.add("org.apache.tomcat.dbcp.dbcp2.BasicDataSource");
5353
s.add("com.sun.org.apache.bcel.internal.util.ClassLoader");
54+
// [databind#1899]: more 3rd party
55+
s.add("org.hibernate.jmx.StatisticsService");
56+
s.add("org.apache.ibatis.datasource.jndi.JndiDataSourceFactory");
57+
5458
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
5559
}
5660

0 commit comments

Comments
 (0)