RFR: 8305352: updateIconImages may lead to deadlock after JDK-8276849

Dmitry Cherepanov dcherepanov at openjdk.org
Mon Apr 3 10:03:22 UTC 2023


On Fri, 31 Mar 2023 19:03:50 GMT, Phil Race <prr at openjdk.org> wrote:

> that's a good point. If the window is created and later iconifiied (for example) and then this notification comes in, will it be missed ?

Such notifications won't be ignored as isVisible() returns true for iconified windows
Verified the scenario:
 - window displayed (WWindowPeer.initialize() calls updateIconImages())
 - window iconified
 - changed DPI setting (WWindowPeer.updateGC() calls updateIconImages())
 - window de-iconified (with properly updated icon)

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

PR Comment: https://git.openjdk.org/jdk/pull/13263#issuecomment-1494024137



More information about the client-libs-dev mailing list