File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/jdk.jpackage/windows/native/applauncher Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2020, 2023 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2020, 2024 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -264,7 +264,7 @@ void launchApp() {
264264 }
265265 JOBOBJECT_EXTENDED_LIMIT_INFORMATION jobInfo = { };
266266 jobInfo.BasicLimitInformation .LimitFlags =
267- JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE ;
267+ JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE | JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK ;
268268 if (!SetInformationJobObject (jobHandle.get (),
269269 JobObjectExtendedLimitInformation, &jobInfo, sizeof (jobInfo))) {
270270 JP_THROW (SysError (tstrings::any () <<
You can’t perform that action at this time.
0 commit comments