RFR: 8365790: Shutdown hook for application image does not work on Windows [v5]
Alexander Matveev
almatvee at openjdk.org
Wed Sep 17 19:11:46 UTC 2025
On Wed, 17 Sep 2025 15:48:43 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
>> 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
Latest changes looks good.
-------------
Marked as reviewed by almatvee (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27264#pullrequestreview-3235884435
More information about the core-libs-dev
mailing list