diff --git a/support/hazelcast/pom.xml b/support/hazelcast/pom.xml
index 3e30c5a1b4..7455c77dab 100644
--- a/support/hazelcast/pom.xml
+++ b/support/hazelcast/pom.xml
@@ -88,8 +88,8 @@
[8,)
- --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED
- --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED
+ --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.ref=ALL-UNNAMED
+ --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.ref=ALL-UNNAMED