<AWT Dev> [16] RFR 8252470: java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java fails on Windows

Dmitry Markov dmitry.markov at oracle.com
Fri Aug 28 20:42:39 UTC 2020

Hi Sergey,

According to JDK-8232114 the crash may take place if TraslateMessage() (which is executed by the toolkit thread) call the IME API and at the same time we invoke some IME function using SendMessage().
Here we have a different situation: the toolkit thread cannot run TranslateMessage() because it is busy executing DND and we can safely use SendMessage() for IME call without crash.


> On 28 Aug 2020, at 21:16, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> On 28.08.2020 12:54, Dmitry Markov wrote:
>> If DND operation is active then we shouldn’t post the IME messages to the toolkit thread queue and use SendMessage() function instead.
> But it means that if DnD is active we will crash in the same way as described in JDK-8232114?
> -- 
> Best regards, Sergey.

More information about the awt-dev mailing list