On Thu, 12 Nov 2026 21:25:52 GMT, Alexander Zuev <[email protected]> wrote:

> The reason test fails is that the drop animation now takes place for a little 
> longer and a test assumes that after the click is performed by the robot the 
> component should receive it immediately so it performs the click and then 
> checks for the event delivery status and fails if event is not received. The 
> fix is to get rid of this simple logic and to use the CountDownLatch to track 
> the event delivery status and to add a 5 seconds wait on it before closing 
> the gframe and deeming test as failed
> 
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 9e079370
Author:    Alexander Zuev <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/9e079370a03bd6c6b98daf74fcf4c878715e4976
Stats:     23 lines in 1 file changed: 8 ins; 9 del; 6 mod

8396626: [macos27] 
java/awt/dnd/MissingEventsOnModalDialog/MissingEventsOnModalDialogTest.java 
test fails

Reviewed-by: prr, azvegint

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

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

Reply via email to