Skip to content

Commit

Permalink
Restore the interrupted flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajamah committed Jan 12, 2024
1 parent 5ba69e1 commit 5b264f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java.desktop/share/classes/javax/swing/ImageIcon.java
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ protected void loadImage(Image image) {
mTracker.waitForID(id, 0);
} catch (InterruptedException e) {
interrupted = true;
Thread.currentThread().interrupt();
}

loadStatus = mTracker.statusID(id, false);
Expand Down

0 comments on commit 5b264f2

Please sign in to comment.