From 7da282d5a7b6792b794318a72185f72433d4ce31 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Mon, 15 Apr 2019 21:05:00 -0700 Subject: [PATCH] Manual merge of #2299 (start with 2.9 branch) --- pom.xml | 4 +++- release-notes/CREDITS-2.x | 4 ++++ release-notes/VERSION-2.x | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5e0c0afa53..3a410a27e6 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,9 @@ com.fasterxml.jackson.databind.*;version=${project.version} - + + org.w3c.dom.bootstrap;resolution:=optional, + com/fasterxml/jackson/databind/cfg diff --git a/release-notes/CREDITS-2.x b/release-notes/CREDITS-2.x index 15fc81bb9d..d191f278aa 100644 --- a/release-notes/CREDITS-2.x +++ b/release-notes/CREDITS-2.x @@ -833,3 +833,7 @@ Joffrey Bion (joffrey-bion@github) * Reported #2265: Inconsistent handling of Collections$UnmodifiableList vs Collections$UnmodifiableRandomAccessList (2.9.9) + +Christoph (cfiehe@github.com) + * Contributed #2299: Fix for using jackson-databind in an OSGi environment under Android + (2.9.9) diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 82e6df672f..54779ad04d 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -14,6 +14,8 @@ Project: jackson-databind #2251: Getter that returns an abstract collection breaks a delegating `@JsonCreator` #2265: Inconsistent handling of Collections$UnmodifiableList vs Collections$UnmodifiableRandomAccessList (reported by Joffrey B) +#2299: Fix for using jackson-databind in an OSGi environment under Android + (contributed by Christoph F) - Prevent String coercion of `null` in `WritableObjectId` when calling `JsonGenerator.writeObjectId()`, mostly relevant for formats like YAML that have native Object Ids