On Mon, 8 Feb 2021 16:51:21 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
>> The function InvokeInputMethodFunction() is responsible for invocation of >> IME API. Typically it uses PostMessage() to execute corresponding IME >> function on the toolkit thread but if DnD operation takes place >> SendMessage() is used. The state of m_inputMethodWaitEvent event object >> remains signalled after SendMessage() execution. That causes failure of >> subsequent IME functions calls via PostMessage(). >> >> Fix: >> SendMessage() and PostMessage() calls inside InvokeInputMethodFunction() >> should be synchronised. The state of m_inputMethodWaitEvent event object >> must be reseted right after SendMessage() execution. > > Change looks good and i haven't found any side-effects during testing. Could > you please add the label to the bug noting reason for absence of the > regression test, like noreg-hard or something? I also tested this fix. It worked fine. Thanks. ------------- PR: https://git.openjdk.java.net/jdk/pull/2448