This is an automated email from the ASF dual-hosted git repository. lhotari pushed a commit to branch branch-4.0 in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 9c9bed36431e891d8d08a98f46f46d6c864df89a Author: Lari Hotari <[email protected]> AuthorDate: Fri Sep 19 19:41:04 2025 +0300 [improve][build] Upgrade Mockito, AssertJ and ByteBuddy to fully support JDK25 (#24764) (cherry picked from commit e94755d58b563cde3a06d9daae50e9e0ca86334c) --- buildtools/pom.xml | 4 ++-- distribution/server/src/assemble/LICENSE.bin.txt | 2 +- pom.xml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/buildtools/pom.xml b/buildtools/pom.xml index 95065cf7da5..14ef6889ada 100644 --- a/buildtools/pom.xml +++ b/buildtools/pom.xml @@ -60,8 +60,8 @@ <guava.version>32.1.2-jre</guava.version> <ant.version>1.10.12</ant.version> <snakeyaml.version>2.0</snakeyaml.version> - <mockito.version>5.17.0</mockito.version> - <byte-buddy.version>1.15.11</byte-buddy.version> + <mockito.version>5.19.0</mockito.version> + <byte-buddy.version>1.17.7</byte-buddy.version> <!-- required for running tests on JDK11+ --> <test.additional.args> --add-opens java.base/jdk.internal.loader=ALL-UNNAMED diff --git a/distribution/server/src/assemble/LICENSE.bin.txt b/distribution/server/src/assemble/LICENSE.bin.txt index 2fbf06537e0..a7ec1c3cecb 100644 --- a/distribution/server/src/assemble/LICENSE.bin.txt +++ b/distribution/server/src/assemble/LICENSE.bin.txt @@ -460,7 +460,7 @@ The Apache Software License, Version 2.0 - net.jodah-typetools-0.5.0.jar - dev.failsafe-failsafe-3.3.2.jar * Byte Buddy - - net.bytebuddy-byte-buddy-1.15.11.jar + - net.bytebuddy-byte-buddy-1.17.7.jar * zt-zip - org.zeroturnaround-zt-zip-1.17.jar * Apache Avro diff --git a/pom.xml b/pom.xml index 3dfe260eff7..4425ffcfe94 100644 --- a/pom.xml +++ b/pom.xml @@ -210,8 +210,8 @@ flexible messaging model and an intuitive client API.</description> <docker-maven.version>0.45.1</docker-maven.version> <docker.verbose>true</docker.verbose> <typetools.version>0.5.0</typetools.version> - <!-- match the byte-buddy version used by the mockito-core pom --> - <byte-buddy.version>1.15.11</byte-buddy.version> + <!-- match the byte-buddy version (or newer) used by the mockito-core pom --> + <byte-buddy.version>1.17.7</byte-buddy.version> <zt-zip.version>1.17</zt-zip.version> <protobuf3.version>3.25.5</protobuf3.version> <protoc3.version>${protobuf3.version}</protoc3.version> @@ -272,7 +272,7 @@ flexible messaging model and an intuitive client API.</description> <jline3.version>3.21.0</jline3.version> <hppc.version>0.9.1</hppc.version> <spark-streaming_2.10.version>2.1.0</spark-streaming_2.10.version> - <assertj-core.version>3.24.2</assertj-core.version> + <assertj-core.version>3.27.5</assertj-core.version> <lombok.version>1.18.42</lombok.version> <jakarta.annotation-api.version>1.3.5</jakarta.annotation-api.version> <jaxb-api>2.3.1</jaxb-api> @@ -321,7 +321,7 @@ flexible messaging model and an intuitive client API.</description> <restassured.version>5.4.0</restassured.version> <kerby.version>1.1.1</kerby.version> <testng.version>7.7.1</testng.version> - <mockito.version>5.17.0</mockito.version> + <mockito.version>5.19.0</mockito.version> <javassist.version>3.25.0-GA</javassist.version> <skyscreamer.version>1.5.0</skyscreamer.version> <objenesis.version>3.3</objenesis.version> <!-- should match mockito-core objenesis version -->
