RFR: 8339850: Restore the interrupt status in FileSystemPreferences.lockFile() [v3]
Daniel Jeliński
djelinski at openjdk.org
Tue Oct 1 06:48:42 UTC 2024
On Mon, 30 Sep 2024 16:11:14 GMT, sbgoog <duke at openjdk.org> wrote:
>> 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
Marked as reviewed by djelinski (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20938#pullrequestreview-2339259547
More information about the core-libs-dev
mailing list