<AWT Dev> [16] RFR 8252470: java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java fails on Windows
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Fri Aug 28 21:33:28 UTC 2020
Looks fine then.
On 28.08.2020 13:42, Dmitry Markov wrote:
> 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.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.
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list