build: upgrade dependencies for Java 25 compatibility - #96
Merged
Conversation
added 2 commits
October 24, 2025 14:02
- Bump Java version from 21 to 25 - Upgrade Mockito from 5.14.1 to 5.20.0 (includes ByteBuddy 1.15.10+ with Java 25 support) - Upgrade JaCoCo from 0.8.11 to 0.8.13 for Java 25 compatibility This resolves TypeTag instrumentation errors that occurred with older ByteBuddy versions on Java 25.
paul58914080
approved these changes
Nov 27, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #96 +/- ##
=======================================
Coverage ? 77.57%
Complexity ? 142
=======================================
Files ? 33
Lines ? 660
Branches ? 65
=======================================
Hits ? 512
Misses ? 122
Partials ? 26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
|
Thank you for your contribution @benhinssenCCV |
Contributor
Author
|
Thanks @paul58914080 ! |
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
Upgrade project dependencies to support Java 25, ensuring compatibility with the latest Java LTS version.
Details
This PR upgrades critical dependencies to resolve Java 25 compatibility issues:
Context
Java 25 introduced internal changes to the javac compiler APIs that broke compatibility with older ByteBuddy versions used by Mockito. The previous versions were causing
java.lang.ExceptionInInitializerErrorwithTypeTag :: UNKNOWNerrors during test instrumentation.By upgrading Mockito to the latest version, we gain ByteBuddy 1.15.10+ which provides proper support for Java 25's internal compiler structures. JaCoCo 0.8.13 similarly adds Java 25 support for code coverage instrumentation.
Environments impacted: All - this is a JDK version upgrade affecting the entire build and test infrastructure.
Checklist:
Related issue :
N/A