On Fri, 27 Oct 2023 10:36:58 GMT, songpv-imt <d...@openjdk.org> wrote:

> The root cause of the bug is because mousePress() method is invoked before 
> mouseMove() event is completely processed causing the drag & drop behavior 
> not being able to be recognized properly. This in turn makes the method 
> dragSourceListener.isDropFinished() returns false and fail the test. To fix 
> this, setAutoWaitForIdle(true) and Thread.Sleep is called to make sure the 
> mouseMove() event is processed completely before moving to execute the 
> mousePress() method.
> 
> JBS issue: [JDK-8317287](https://bugs.openjdk.org/browse/JDK-8317287)

This pull request has now been integrated.

Changeset: cbfddf4e
Author:    Song Pham <son...@imt-soft.com>
URL:       
https://git.openjdk.org/jdk/commit/cbfddf4e1d3ff8dddb95bcb9242b31c175b768fc
Stats:     104 lines in 1 file changed: 40 ins; 38 del; 26 mod

8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal 
termination

Reviewed-by: honkar, aivanov, shurailine

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

PR: https://git.openjdk.org/jdk/pull/16396

Reply via email to