RFR: 8202667: java/awt/Debug/DumpOnKey/DumpOnKey.java times out on Windows

Sergey Bylokhov serb at openjdk.java.net
Mon Nov 1 19:25:13 UTC 2021


On Mon, 1 Nov 2021 15:34:42 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Looks like the problem occurs when system is slow to actually close windows,
> then keyboard events are going to the wrong window. The idea of the fix is to
> bring the new window to front before actual testing starts and close window
> on EDT and then wait for 2 seconds for actual hardware window to disappear.

>From the stack traces in the bug report, it seems that the problem was in some kind of deadlock in the SunToolkit.waitForIdle

-------------

PR: https://git.openjdk.java.net/jdk/pull/6194



More information about the client-libs-dev mailing list