<AWT Dev> RFR: 8197825: [Test] Intermiitent timeout with javax/swing JColorChooser Test [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Wed Jan 27 22:33:43 UTC 2021
On Wed, 27 Jan 2021 12:39:01 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
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
More information about the awt-dev
mailing list