RFR: 8339850: Restore the interrupt status in FileSystemPreferences.lockFile() [v3]
sbgoog
duke at openjdk.org
Mon Sep 30 16:11:14 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 updated the pull request incrementally with one additional commit since the last revision:
Update Copyright year
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20938/files
- new: https://git.openjdk.org/jdk/pull/20938/files/0b030411..2c0c1896
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20938&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20938&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 0 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