On Fri, 31 Mar 2023 09:11:20 GMT, Dmitry Cherepanov <[email protected]> 
wrote:

> Please review this PR which suggests to skip updateIconImages() for not yet 
> visible windows. The displayChanged notification can be sent to a window that 
> is in the process of initiailization and calling updateIconImages() may lead 
> to the deadlock.
> 
> Testing: the deadlock no longer happens with this patch. The reg test for 
> JDK-8276849 works (window icon is updated after changing DPI settings).

This pull request has now been integrated.

Changeset: f968da97
Author:    Dmitry Cherepanov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/f968da97a5a5c68c28ad29d13fdfbe3a4adf5ef7
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8305352: updateIconImages may lead to deadlock after JDK-8276849

Reviewed-by: aivanov, serb

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

PR: https://git.openjdk.org/jdk/pull/13263

Reply via email to