You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2024/07/13 14:33:19 UTC
(hbase) branch branch-3 updated: HBASE-28723 [JDK17] TestSecureIPC fails under JDK17 (#6071)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new 238160fc1a4 HBASE-28723 [JDK17] TestSecureIPC fails under JDK17 (#6071)
238160fc1a4 is described below
commit 238160fc1a483cda3bafd07207b617728a5f0d7b
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Sat Jul 13 22:26:07 2024 +0800
HBASE-28723 [JDK17] TestSecureIPC fails under JDK17 (#6071)
Signed-off-by: Yi Mei <me...@apache.org>
(cherry picked from commit e45e2383b865c765d464faac41994a3e61eca7e5)
---
pom.xml | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index a58719992e2..e2548575ad1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -972,10 +972,12 @@
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
-Dio.opentelemetry.context.enableStrictContext=true</hbase-surefire.cygwin-argLine>
<!--
- Keep these options in sync with add_jdk17_jvm_flags() in bin/hbase.
- Currently, all of these options are known to be required by HBase, and not the test cases
- java.base/jdk.internal.util.random=ALL-UNNAMED is required by the test code, so we do not
- need this in bin/hbase
+ Keep these options in sync with add_jdk17_jvm_flags() in bin/hbase, except the below ones
+ which are only used in test code
+ 'java.base/jdk.internal.util.random' is required by the test code
+ 'java.base/sun.security.x509' and 'java.base/sun.security.util' are required by
+ TestLdapHttpServer, see HBASE-28341
+ 'java.base/java.net' is required by TestSecureIPC, see HBASE-28723
-->
<hbase-surefire.jdk17.flags>-Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true
--add-modules jdk.unsupported
@@ -993,7 +995,8 @@
--add-exports java.base/sun.net.util=ALL-UNNAMED
--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>
+ --add-opens java.base/sun.security.util=ALL-UNNAMED
+ --add-opens java.base/java.net=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>