diff --git a/pom.xml b/pom.xml
index e21c6e91d..8df3dd0b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -376,8 +376,8 @@
maven-surefire-plugin
${surefire.version}
- ${surefireArgLine}
+ ${surefireArgLine},
--add-opens java.base/java.lang=ALL-UNNAMED,
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED,