diff --git a/pom.xml b/pom.xml
index 83cb3ad5f18..19cf10be7b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2828,7 +2828,6 @@
${releaseTarget}
-Dio.netty.tryReflectionSetAccessible=true
- --illegal-access=permit
--add-modules jdk.unsupported
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
@@ -2836,6 +2835,7 @@
--add-opens java.base/jdk.internal.ref=ALL-UNNAMED
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
+ --add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED
${hbase-surefire.argLine}