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).

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

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

Changes: https://git.openjdk.org/jdk/pull/33886/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33886&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8396626
  Stats: 23 lines in 1 file changed: 8 ins; 9 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/33886.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33886/head:pull/33886

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

Reply via email to