RFR: 8339850: Restore the interrupt status in FileSystemPreferences.lockFile() [v3]

Vyom Tewari vtewari at openjdk.org
Wed Oct 2 14:17:43 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

Looks OK

-------------

Marked as reviewed by vtewari (Committer).

PR Review: https://git.openjdk.org/jdk/pull/20938#pullrequestreview-2343086903


More information about the core-libs-dev mailing list