Skip to content

Commit

Permalink
Manual merge of #2299 (start with 2.9 branch)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Apr 16, 2019
1 parent 83264a7 commit 7da282d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@

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

<!-- Generate PackageVersion.java into this directory. -->
<packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir>
Expand Down
4 changes: 4 additions & 0 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -833,3 +833,7 @@ Joffrey Bion (joffrey-bion@github)
* Reported #2265: Inconsistent handling of Collections$UnmodifiableList vs
Collections$UnmodifiableRandomAccessList
(2.9.9)

Christoph ([email protected])
* Contributed #2299: Fix for using jackson-databind in an OSGi environment under Android
(2.9.9)
2 changes: 2 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7da282d

Please sign in to comment.