RFR: 8339850: Restore the interrupt status in FileSystemPreferences.lockFile() [v2]
sbgoog
duke at openjdk.org
Mon Sep 30 14:31:51 UTC 2024
> FIleSystemPreferences.lockFile() catches an InterruptedException and just returns false, forgetting to re-interrupt the current thread. This leaves the caller with no way to observe that the thread was interrupted. This change restores the interrupted status on the current thread before returning.
sbgoog has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
8339850: Restore the interrupt status in FileSystemPreferences.lockFile()
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20938/files
- new: https://git.openjdk.org/jdk/pull/20938/files/27cba448..0b030411
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20938&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20938&range=00-01
Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20938.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20938/head:pull/20938
PR: https://git.openjdk.org/jdk/pull/20938
More information about the core-libs-dev
mailing list