RFR: 8320328: Restore interrupted flag in ImageIcon.loadImage [v4]
Sergey Bylokhov
serb at openjdk.org
Sat Jan 13 05:05:19 UTC 2024
On Fri, 12 Jan 2024 21:53:44 GMT, Rajat Mahajan <rmahajan at openjdk.org> wrote:
>> ImageIcon.loadImage used to handle InterruptedException only by printing a message to the console. JDK-8236987 handled the interrupted state more gracefully, but it didn't restore the interrupted flag.
>> This change restores the interrupted flag that will allow the following code to handle interruption and exit the thread; otherwise, the thread will continue to run.
>
> Rajat Mahajan has updated the pull request incrementally with one additional commit since the last revision:
>
> Update LoadInterruptTest.java
>
> removed extra blank lines.
Marked as reviewed by serb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17406#pullrequestreview-1819802879
More information about the client-libs-dev
mailing list