RFR: 8365790: Shutdown hook for application image does not work on Windows [v5]
Alexey Semenyuk
asemenyuk at openjdk.org
Wed Sep 17 15:48:43 UTC 2025
> Disable the default handling of Ctrl+C in the parent app launcher process to let the child app launcher running JVM handle it. Add corresponding test case.
>
> The new test is crafted to work (skip) in the environment where Ctrl+C signal emitted from the PowerShell script doesn't go through to a child process.
>
> Supplementary changes:
> - Added convenience api to CfgFile;
> - Fixed `TKit.waitForFileCreated()` function to work correctly when multiple files are monitored in the same directory and to call `close()` on the WatchService instance.
Alexey Semenyuk has updated the pull request incrementally with one additional commit since the last revision:
Call close() of a watch service instance
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27264/files
- new: https://git.openjdk.org/jdk/pull/27264/files/d8ad4975..c63a7582
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27264&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27264&range=03-04
Stats: 38 lines in 1 file changed: 4 ins; 4 del; 30 mod
Patch: https://git.openjdk.org/jdk/pull/27264.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27264/head:pull/27264
PR: https://git.openjdk.org/jdk/pull/27264
More information about the core-libs-dev
mailing list