RFR: 8274597: Some of the dnd tests time out and fail intermittently [v2]

Manukumar V S mvs at openjdk.java.net
Wed Apr 27 11:03:41 UTC 2022


On Wed, 27 Apr 2022 07:33:31 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Why do these tests timeout? is it possible that we can get a deadlock there?

This doesn't seem to be a deadlock. When there is no sufficient delay after the mouse release(dragged mouse pointer release to drop the content), the frame is getting disposed even before the drop() method gets called. So it waits for the drop() method which will never happen as the frame has been already disposed. Instead of the fix suggested here, this can be also fixed by just increasing the robot delay after mouse release to at least 100ms.

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

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



More information about the client-libs-dev mailing list