Remove wiremock:2.35.2 fat-jar from access-control-test-utils - #58
Merged
Merged
Conversation
…-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.
zozd-hmcts
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
com.github.tomakehurst:wiremock-jre8-standalone:2.35.2andwiremock-webhooks-extension:2.35.2fromaccess-control-test-utilsObjectMappercallsBufferRecycler.releaseToPool(), which was removed injackson-core 2.19+NoSuchMethodErrorat test runtime on any context that depends onaccess-control-test-utilswhen the 25.104.x BOM resolvesjackson-core:2.21.4wiremock-test-utils(already a dep here) transitively providesorg.wiremock:wiremock:3.13.2, which supplies the samecom.github.tomakehurst.*API surface under WireMock's backward-compatible package names — no source changes neededTest plan
NoSuchMethodError: BufferRecycler.releaseToPoolin downstream context IT tests🤖 Generated with Claude Code