Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Java 21 tests by placing mockito before assertj
https://groups.google.com/g/byte-buddy/c/H3auRC-SRts/m/7NCRN2wAAwAJ notes that the version of bytebuddy in assertj does not support Java 21 while the version of bytebuddy in mockito supports Java 21. Load mockito first so that the newer version of bytebuddy is used for the tests. This change is necessary but not sufficient to pass the tests on Java 21. The tests run much better on Java 21 with this change, but there are still two tests that fail. They will need to be investigated and resolved in a separate pull request.
- Loading branch information