diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 17669bdada..f20c97f0ba 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -6,6 +6,7 @@ Project: jackson-databind 2.9.9.1 (03-Jul-2019) +#2331: `JsonMappingException` through nested getter with generic wildcard return type #2334: Block one more gadget type (CVE-2019-12384) #2341: Block one more gadget type (CVE-2019-12814) #2374: `ObjectMapper. getRegisteredModuleIds()` throws NPE if no modules registered diff --git a/src/main/java/com/fasterxml/jackson/databind/type/ResolvedRecursiveType.java b/src/main/java/com/fasterxml/jackson/databind/type/ResolvedRecursiveType.java index d45e1d6fa6..7a697442fc 100644 --- a/src/main/java/com/fasterxml/jackson/databind/type/ResolvedRecursiveType.java +++ b/src/main/java/com/fasterxml/jackson/databind/type/ResolvedRecursiveType.java @@ -36,6 +36,12 @@ public JavaType getSuperClass() { public JavaType getSelfReferencedType() { return _referencedType; } + // 23-Jul-2019, tatu: [databind#2331] Need to also delegate this... + @Override + public TypeBindings getBindings() { + return _referencedType.getBindings(); + } + @Override public StringBuilder getGenericSignature(StringBuilder sb) { return _referencedType.getGenericSignature(sb);