Skip to content

Commit 3d5e08f

Browse files
committed
Fix #1264: use more dynamic shade target package for FastDoubleParser
1 parent cfea42e commit 3d5e08f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ com.fasterxml.jackson.core.*;version=${project.version}
176176
<relocations>
177177
<relocation>
178178
<pattern>ch/randelshofer/fastdoubleparser</pattern>
179-
<shadedPattern>com/fasterxml/jackson/core/io/doubleparser</shadedPattern>
179+
<!-- 04-May-2024, tatu: [core#1264] Shade with version-specific package
180+
to prevent reuse by downstream deps.
181+
-->
182+
<shadedPattern>com/fasterxml/jackson/core/internal/shaded/fdp/v${project.version.underscore}</shadedPattern>
180183
</relocation>
181184
<relocation>
182185
<pattern>META-INF/LICENSE</pattern>

release-notes/VERSION-2.x

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ a pure JSON library.
2626
(implemented by @pjfanning)
2727
#1257: Increase InternCache default max size from 100 to 200
2828
#1262: Add diagnostic method `pooledCount()` in `RecyclerPool`
29+
#1264: Rename shaded `ch.randelshofer:fastdoubleparser` classes
30+
to prevent use by downstream consumers
31+
(requested by @seadbrane)
2932
#1266: Change default recycler pool to `bewConcurrentDequePool()` in 2.18
3033
#1277: Add back Java 22 optimisation in FastDoubleParser
3134

0 commit comments

Comments
 (0)