diff --git a/pom.xml b/pom.xml index db637855d5b70..ebb6393bd8fe9 100644 --- a/pom.xml +++ b/pom.xml @@ -1011,6 +1011,7 @@ under the License. --add-exports=java.base/sun.net.util=ALL-UNNAMED + --add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED