Skip to content

Commit

Permalink
Fix #1264: use more dynamic shade target package for FastDoubleParser (
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 4, 2024
1 parent cfea42e commit babe5a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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

0 comments on commit babe5a0

Please sign in to comment.