Skip to content

Remove wiremock:2.35.2 fat-jar from access-control-test-utils - #58

Merged
allanmckenzie merged 1 commit into
release/25.104.xfrom
fix/wiremock-jackson-conflict
Jun 15, 2026
Merged

Remove wiremock:2.35.2 fat-jar from access-control-test-utils#58
allanmckenzie merged 1 commit into
release/25.104.xfrom
fix/wiremock-jackson-conflict

Conversation

@allanmckenzie

Copy link
Copy Markdown
Contributor

Summary

  • Remove com.github.tomakehurst:wiremock-jre8-standalone:2.35.2 and wiremock-webhooks-extension:2.35.2 from access-control-test-utils
  • These are fat jars that bundle Jackson 2.16.x classes directly onto the classpath
  • Jackson 2.16.x's ObjectMapper calls BufferRecycler.releaseToPool(), which was removed in jackson-core 2.19+
  • This causes NoSuchMethodError at test runtime on any context that depends on access-control-test-utils when the 25.104.x BOM resolves jackson-core:2.21.4
  • wiremock-test-utils (already a dep here) transitively provides org.wiremock:wiremock:3.13.2, which supplies the same com.github.tomakehurst.* API surface under WireMock's backward-compatible package names — no source changes needed

Test plan

  • CI build passes
  • No NoSuchMethodError: BufferRecycler.releaseToPool in downstream context IT tests

🤖 Generated with Claude Code

…-test-utils

wiremock-jre8-standalone and wiremock-webhooks-extension (both 2.35.2) are
fat jars that bundle Jackson 2.16.x classes directly on the classpath. Jackson
2.16.x's ObjectMapper calls BufferRecycler.releaseToPool(), which was removed
in jackson-core 2.19+. This causes NoSuchMethodError at test runtime on any
context that depends on access-control-test-utils when the 25.104.x BOM resolves
jackson-core:2.21.4.

wiremock-test-utils (already a dependency here) transitively provides
org.wiremock:wiremock:3.13.2, which supplies the same com.github.tomakehurst.*
API surface under WireMock's backward-compatible package names. No source
changes are needed.
@allanmckenzie
allanmckenzie requested a review from zozd-hmcts June 15, 2026 08:08
@allanmckenzie
allanmckenzie requested a review from a team as a code owner June 15, 2026 08:08
@cpp-github-management

Copy link
Copy Markdown

Passed

@allanmckenzie
allanmckenzie merged commit 5304f45 into release/25.104.x Jun 15, 2026
3 checks passed
@allanmckenzie
allanmckenzie deleted the fix/wiremock-jackson-conflict branch June 15, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants