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.
Regards, Dmitry > On 28 Aug 2020, at 21:16, Sergey Bylokhov <sergey.bylok...@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.