On Wed, 27 Jan 2021 12:35:38 GMT, Prasanta Sadhukhan <psadhuk...@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