On Wed, 27 Jan 2021 12:39:01 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 test/jdk/javax/swing/JColorChooser/Test6827032.java line 78: > 76: } finally { > 77: if (frame != null) { > 78: SwingUtilities.invokeAndWait(() -> frame.dispose()); Shall the frame be `volatile` too? It's accessed from main thread for the null-check. ------------- PR: https://git.openjdk.java.net/jdk/pull/2220