Skip to content

Commit 7da282d

Browse files
committed
Manual merge of #2299 (start with 2.9 branch)
1 parent 83264a7 commit 7da282d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636

3737
<!-- Can not use default, since group id != Java package name here -->
3838
<osgi.export>com.fasterxml.jackson.databind.*;version=${project.version}</osgi.export>
39-
<!-- but imports should work fine with defaults -->
39+
<osgi.import> <!-- fix for databind#2299: using jackson-databind in an OSGi environment under Android -->
40+
org.w3c.dom.bootstrap;resolution:=optional,
41+
</osgi.import>
4042

4143
<!-- Generate PackageVersion.java into this directory. -->
4244
<packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir>

release-notes/CREDITS-2.x

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,3 +833,7 @@ Joffrey Bion (joffrey-bion@github)
833833
* Reported #2265: Inconsistent handling of Collections$UnmodifiableList vs
834834
Collections$UnmodifiableRandomAccessList
835835
(2.9.9)
836+
837+
Christoph ([email protected])
838+
* Contributed #2299: Fix for using jackson-databind in an OSGi environment under Android
839+
(2.9.9)

release-notes/VERSION-2.x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Project: jackson-databind
1414
#2251: Getter that returns an abstract collection breaks a delegating `@JsonCreator`
1515
#2265: Inconsistent handling of Collections$UnmodifiableList vs Collections$UnmodifiableRandomAccessList
1616
(reported by Joffrey B)
17+
#2299: Fix for using jackson-databind in an OSGi environment under Android
18+
(contributed by Christoph F)
1719
- Prevent String coercion of `null` in `WritableObjectId` when calling `JsonGenerator.writeObjectId()`,
1820
mostly relevant for formats like YAML that have native Object Ids
1921

0 commit comments

Comments
 (0)