Open java.io and sun.nio.fs
@@ -380,7 +380,10 @@ public class DaemonConnector {
ProcessBuilder processBuilder = new ProcessBuilder();
processBuilder.environment()
.put("JDK_JAVA_OPTIONS",
- "--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED");
+ "--add-opens java.base/java.io=ALL-UNNAMED " +
+ "--add-opens java.base/java.lang=ALL-UNNAMED " +
+ "--add-opens java.base/java.util=ALL-UNNAMED " +
+ "--add-opens java.base/sun.nio.fs=ALL-UNNAMED");
Process process = processBuilder
.directory(workingDir.toFile())
.command(args)
