diff --git a/pom.xml b/pom.xml
index a32e73fb3377..b8ac1067cf4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -990,7 +990,9 @@
--add-exports java.base/sun.net.util=ALL-UNNAMED
- --add-opens java.base/jdk.internal.util.random=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.argLine} @{jacocoArgLine}
1.5.1