(process service) Inherit parent's assertion status

This commit is contained in:
Viktor Lofgren 2024-02-24 18:32:37 +01:00
parent ff0ef1eebc
commit 09447f2ad2

View File

@ -89,6 +89,10 @@ public class ProcessService {
args.add(STR."\{javaHome}/bin/java");
args.add("-cp");
args.add(System.getProperty("java.class.path"));
if (getClass().desiredAssertionStatus()) args.add("-ea");
else args.add("-da");
args.add("--enable-preview");
args.addAll(processId.envOpts());
args.add(processId.mainClass);