This is an automated email from the ASF dual-hosted git repository.
rajeshbabu pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 5314141e42e HBASE-28341 [JDK17] Fix Failure TestLdapHttpServer (#5672)
5314141e42e is described below
commit 5314141e42e32453f1328382971b079cb52fe878
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 b9a1cd09cdc..6218918984b 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>