equal
deleted
inserted
replaced
255 hasModules = true; |
255 hasModules = true; |
256 } |
256 } |
257 |
257 |
258 if (hasModules) { |
258 if (hasModules) { |
259 Stream.of(jdk.internal.misc.VM.getRuntimeArguments()) |
259 Stream.of(jdk.internal.misc.VM.getRuntimeArguments()) |
260 .filter(arg -> arg.startsWith("--add-exports=")) |
260 .filter(arg -> arg.startsWith("--add-exports=") || |
|
261 arg.startsWith("--add-opens=")) |
261 .forEach(cmd::add); |
262 .forEach(cmd::add); |
262 } |
263 } |
263 |
264 |
264 Collections.addAll(cmd, splitProperty("test.vm.opts")); |
265 Collections.addAll(cmd, splitProperty("test.vm.opts")); |
265 Collections.addAll(cmd, splitProperty("test.java.opts")); |
266 Collections.addAll(cmd, splitProperty("test.java.opts")); |