On Tue, 10 Sep 2024 16:37:11 GMT, sbgoog <d...@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.

Looks all right.

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

Marked as reviewed by bpb (Reviewer).

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

Reply via email to