diff --git a/pom.xml b/pom.xml
index 49e3793f464..4ce87cf12ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3139,7 +3139,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
@@ -3147,6 +3146,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}