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

duke duke at openjdk.org
Wed Oct 2 15: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

@sbgoog 
Your change (at version 2c0c18962ac4522e0da30286140e57f64eb41eb9) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/20938#issuecomment-2388942539


More information about the core-libs-dev mailing list