Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1264: use more dynamic shade target package for FastDoubleParser #1287

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,12 @@ com.fasterxml.jackson.core.*;version=${project.version}
<relocations>
<relocation>
<pattern>ch/randelshofer/fastdoubleparser</pattern>
<shadedPattern>com/fasterxml/jackson/core/io/doubleparser</shadedPattern>
<!-- 04-May-2024, tatu: [core#1264] Shade with version-specific package
to prevent reuse by downstream deps.
NOTE: `project.version.underscore' comes from `jackson-base/pom.xml`
parent pom
-->
<shadedPattern>com/fasterxml/jackson/core/internal/shaded/fdp/v${project.version.underscore}</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/LICENSE</pattern>
Expand Down
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ a pure JSON library.
(implemented by @pjfanning)
#1257: Increase InternCache default max size from 100 to 200
#1262: Add diagnostic method `pooledCount()` in `RecyclerPool`
#1264: Rename shaded `ch.randelshofer:fastdoubleparser` classes
to prevent use by downstream consumers
(requested by @seadbrane)
#1266: Change default recycler pool to `bewConcurrentDequePool()` in 2.18
#1277: Add back Java 22 optimisation in FastDoubleParser

Expand Down