Skip to content

Commit

Permalink
Fix #2485
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 3, 2019
1 parent 28d84a3 commit 3137b88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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
#2475: `StringCollectionSerializer` calls `JsonGenerator.setCurrentValue(value)`,
which messes up current value for sibling properties
(reported by Ryan B)
#2485: Add `uses` for `Module` in module-info
(contributed by Marc M)

2.10.0 (26-Sep-2019)

Expand Down
4 changes: 4 additions & 0 deletions src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

requires transitive com.fasterxml.jackson.annotation;
requires transitive com.fasterxml.jackson.core;
requires java.base;
// these types were suggested as transitive, but aren't actually
// exposed externally (only within internal APIs)
requires java.sql;
Expand Down Expand Up @@ -32,6 +33,9 @@
exports com.fasterxml.jackson.databind.type;
exports com.fasterxml.jackson.databind.util;

// [databind#2485]: prevent warning for "unused" with self-use
uses com.fasterxml.jackson.databind.Module;

provides com.fasterxml.jackson.core.ObjectCodec with
com.fasterxml.jackson.databind.ObjectMapper;
}

0 comments on commit 3137b88

Please sign in to comment.