From 592872f4235c7f2a3280725278da55544032f72d Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Sun, 15 Mar 2020 18:10:55 -0700 Subject: [PATCH] Fix #2659 --- release-notes/VERSION-2.x | 2 ++ .../jackson/databind/jsontype/impl/SubTypeValidator.java | 3 +++ 2 files changed, 5 insertions(+) diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 4aca623934..0461b34deb 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -15,6 +15,8 @@ Project: jackson-databind #2648: Block one more gadget type (shiro-core) #2653: Block one more gadget type (shiro-core) #2658: Block one more gadget type (ignite-jta) +#2659: Block one more gadget type (aries.transaction.jms) + (reported by Srikanth Ramu) 2.9.10.3 (23-Feb-2020) diff --git a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java index c935f3ce4b..36e60d89fc 100644 --- a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java +++ b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java @@ -147,6 +147,9 @@ public class SubTypeValidator s.add("org.apache.ignite.cache.jta.jndi.CacheJndiTmFactory"); s.add("org.quartz.utils.JNDIConnectionProvider"); + // [databind#2659]: aries.transaction.jms + s.add("org.apache.aries.transaction.jms.internal.XaPooledConnectionFactory"); + DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s); }