8305352: updateIconImages may lead to deadlock after JDK-8276849
Reviewed-by: aivanov, serb
This commit is contained in:
parent
2985738f15
commit
f968da97a5
@ -600,7 +600,9 @@ public class WWindowPeer extends WPanelPeer implements WindowPeer,
|
||||
newDev.addDisplayChangedListener(this);
|
||||
}
|
||||
|
||||
updateIconImages();
|
||||
if (((Window)target).isVisible()) {
|
||||
updateIconImages();
|
||||
}
|
||||
|
||||
AWTAccessor.getComponentAccessor().
|
||||
setGraphicsConfiguration((Component)target, winGraphicsConfig);
|
||||
|
Loading…
Reference in New Issue
Block a user