<Swing Dev> RFR: 8197825: [Test] Intermiitent timeout with javax/swing JColorChooser Test [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Jan 27 12:39:02 UTC 2021
On Wed, 27 Jan 2021 12:35:38 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> This test was failing in our nightly mach5 testing. Appropriate stability code in form of waitForIdle and delay is added.
>> mach5 job running for several iterations on all platforms is ok. Link in JBS.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Prevent infinite loop
src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp line 2611:
> 2609: Sleep(100);
> 2610: }
> 2611:
It can cause infinite looping as the message queue to get DISPOSE events is removed so if we are not getting disposed by now, we probably will not get DISPOSE event ever causing infinite loop.
XToolkit, LWToolkit does not have this infinite loop.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2220
More information about the swing-dev
mailing list