Skip to content

Commit

Permalink
Minor tweaks to module-info.java to open access
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 16, 2025
1 parent c68937b commit d77ce7d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
exports tools.jackson.databind.cfg;
exports tools.jackson.databind.deser;
exports tools.jackson.databind.deser.bean;
// exports tools.jackson.databind.deser.impl;
// Alas multiple types from this package are exported. Would
// ideally move, but for now expose
exports tools.jackson.databind.deser.impl;
exports tools.jackson.databind.deser.jackson;
exports tools.jackson.databind.deser.jdk;
exports tools.jackson.databind.deser.std;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import tools.jackson.databind.PropertyName;
import tools.jackson.databind.introspect.Annotated;
import tools.jackson.databind.introspect.AnnotatedParameter;
import tools.jackson.databind.util.ClassUtil;
import tools.jackson.databind.util.ExceptionUtil;

/**
* Since 2 JDK7-added annotations were left out of JDK 9+ core modules,
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/tools/jackson/databind/json/JsonMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ public Builder(JsonFactory f) {
super(f);
}

/**
* NOTE: while public, not exposed as part of public API.
*
* @param state State from which to restore state of this builder
*/
@SuppressWarnings("exports")
public Builder(StateImpl state) {
super(state);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package tools.jackson.databind.deser.filter;

import java.beans.ConstructorProperties;

import org.junit.jupiter.api.Test;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
Expand Down

0 comments on commit d77ce7d

Please sign in to comment.