From e10c15d0306e678ace8748680527e6eecbf424e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Garc=C3=ADa=20Fern=C3=A1ndez?= Date: Mon, 25 Jul 2022 13:21:21 +0200 Subject: [PATCH] HBASE-27179 Issues building with OpenJDK 17 (#4594) Fix test case failures in org.apache.hadoop.hbase.http.log.TestLogLevel under Openjdk 17 because of a missing export of java.security.jgss/sun.security.krb5. Removed option --illegal-access=permit ignored since Openjdk 17. Signed-off-by: Duo Zhang --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 49e3793f4646..4ce87cf12ec1 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}