This is an automated email from the ASF dual-hosted git repository.
rajeshbabu pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.6 by this push:
new 28a3e7e31e2 HBASE-28341 [JDK17] Fix Failure TestLdapHttpServer (#5672)
28a3e7e31e2 is described below
commit 28a3e7e31e2cf1f3bbe11d273f8fc0ce7519ead9
Author: Rajeshbabu Chintaguntla <[email protected]>
AuthorDate: Mon Feb 12 09:19:24 2024 +0530
HBASE-28341 [JDK17] Fix Failure TestLdapHttpServer (#5672)
Co-authored-by: Rajeshbabu Chintaguntla <[email protected]>
---
pom.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index f808b11342d..c323b6e6a54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -739,7 +739,9 @@
--add-exports
java.base/sun.net.util=ALL-UNNAMED</hbase-surefire.jdk11.flags>
<!-- java.base/jdk.internal.util.random=ALL-UNNAMED is required by the
test code, so we do not
need this in bin/hbase -->
- <hbase-surefire.jdk17.flags>--add-opens
java.base/jdk.internal.util.random=ALL-UNNAMED</hbase-surefire.jdk17.flags>
+ <hbase-surefire.jdk17.flags>--add-opens
java.base/jdk.internal.util.random=ALL-UNNAMED
+ --add-opens java.base/sun.security.x509=ALL-UNNAMED
+ --add-opens
java.base/sun.security.util=ALL-UNNAMED</hbase-surefire.jdk17.flags>
<!-- Surefire argLine defaults to Linux, cygwin argLine is used in the
os.windows profile -->
<argLine>${hbase-surefire.argLine} @{jacocoArgLine}</argLine>
<extra.enforcer.version>1.5.1</extra.enforcer.version>