<Swing Dev> RFR: 8197825: [Test] Intermittent timeout with javax/swing JColorChooser Test [v4]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Sat Jan 30 05:12:45 UTC 2021
On Fri, 29 Jan 2021 23:46:14 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> src/java.desktop/windows/native/libawt/windows/awt_Toolkit.h line 478:
>>
>>> 476: BOOL m_breakOnError;
>>> 477:
>>> 478: volatile BOOL m_breakMessageLoop;
>>
>> Does this volatile modifier resolve the now-removed infinite loop in `while (!tk.IsDisposed())` in `WToolkit_shutdown`?
>
>> Does this volatile modifier resolve the now-removed infinite loop in `while (!tk.IsDisposed())` in `WToolkit_shutdown`?
>
> The loop should not be removed.
Unfortunately, volatile modifier has no effect if infinite loop is reinstated..
-------------
PR: https://git.openjdk.java.net/jdk/pull/2220
More information about the swing-dev
mailing list