Skip to content

Commit f0430de

Browse files
committed
Merge branch '2.9' into 2.10
2 parents 419d771 + 5c8642a commit f0430de

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

release-notes/VERSION-2.x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Project: jackson-databind
3434
3535
#2688: Block one more gadget type (apache-drill)
3636
(reported by Topsec(tcc))
37+
#2698: Block one more gadget type (weblogic/oracle-aqjms)
38+
(reported by Fangrun Li)
3739
3840
2.9.10.4 (11-Apr-2020)
3941

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,15 @@ public class SubTypeValidator
183183
// [databind#2688]: apache/drill
184184
s.add("oadd.org.apache.xalan.lib.sql.JNDIConnectionPool");
185185

186+
// [databind#2698]: weblogic w/ oracle/aq-jms
187+
// (note: dependency not available via Maven Central, but as part of
188+
// weblogic installation, possibly fairly old version(s))
189+
s.add("oracle.jms.AQjmsQueueConnectionFactory");
190+
s.add("oracle.jms.AQjmsXATopicConnectionFactory");
191+
s.add("oracle.jms.AQjmsTopicConnectionFactory");
192+
s.add("oracle.jms.AQjmsXAQueueConnectionFactory");
193+
s.add("oracle.jms.AQjmsXAConnectionFactory");
194+
186195
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
187196
}
188197

0 commit comments

Comments
 (0)