From 340d8da197b54810db2b5ad115e434a36e377d72 Mon Sep 17 00:00:00 2001 From: Douglas Palmer Date: Fri, 11 Feb 2022 00:03:16 -0800 Subject: [PATCH] LDAP Integration tests fail on JDK-17 #9899 (#9980) --- pom.xml | 15 ++++++++++++++- testsuite/integration-arquillian/tests/pom.xml | 8 +++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 54a4eb10e0..43d1eee429 100644 --- a/pom.xml +++ b/pom.xml @@ -184,6 +184,7 @@ 96m 512m -Xms${surefire.memory.Xms} -Xmx${surefire.memory.Xmx} -XX:MetaspaceSize=${surefire.memory.metaspace} -XX:MaxMetaspaceSize=${surefire.memory.metaspace.max} + 7.0.92 @@ -1788,7 +1789,7 @@ once - -Djava.awt.headless=true ${surefire.memory.settings} -Duser.language=en -Duser.region=US + -Djava.awt.headless=true ${surefire.memory.settings} ${surefire.system.args} -Duser.language=en -Duser.region=US alphabetical @@ -1942,6 +1943,18 @@ + + jdk9 + + [9,) + + + + --add-opens=java.base/java.lang=ALL-UNNAMED + + + + quarkus diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index 8b823eb390..777cfeba90 100755 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -161,7 +161,7 @@ ~ * add-opens=java.naming/javax.naming=ALL-UNNAMED InitialContext proxy generation requires deep reflection in javax.naming ~ * add-modules=java.se Needed for backward compatibility with jboss-modules older than jboss-modules 1.9.1.Final --> - --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED --add-modules=java.se + --add-exports=java.base/sun.security.validator=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.base/com.sun.crypto.provider=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED --add-modules=java.se ${project.build.directory}/dependency/keystore ${dependency.keystore.root}/keycloak.truststore @@ -2195,6 +2195,9 @@ java11-auth-server + + [11,) + ${default.modular.jvm.options} @@ -2202,6 +2205,9 @@ java11-app-server + + [11,) + ${default.modular.jvm.options}