As added protection against malicious use of the rmiregistry, the launcher should, by default, launch with as few modules resolved as possible.
For example, add to the command line:
-J--limit-modules=java.logging,java.rmi
For example, add to the command line:
-J--limit-modules=java.logging,java.rmi