> 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 copyright year. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/17406/files - new: https://git.openjdk.org/jdk/pull/17406/files/5b264f24..0a8d9702 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=17406&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17406&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/17406.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17406/head:pull/17406 PR: https://git.openjdk.org/jdk/pull/17406
