This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new c85cd9f2447 HBASE-29925 TestCheckTestClasses fails on branch-2.x with
JDK8 (#7798)
c85cd9f2447 is described below
commit c85cd9f24478fc91503466e3c5cabc3fb33aba16
Author: Liu Xiao <[email protected]>
AuthorDate: Fri Feb 27 23:00:45 2026 +0800
HBASE-29925 TestCheckTestClasses fails on branch-2.x with JDK8 (#7798)
Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Dávid Paksy <[email protected]>
(cherry picked from commit 04900c786e49f13ab498ddb5628be44181c2f765)
---
hbase-server/pom.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 1c712da8461..df06a0f8a27 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -328,6 +328,16 @@
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
+ <!--
+ TODO: The below dependencies are for passing TestCheckTestClasses under
JDK8,
+ see HBASE-29925 for more details. Once we finish the migration of
JUnit5, which means
+ we do not need TestCheckTestClasses any more, we can remove these
dependencies.
+ -->
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>