RFR: 8298823: [macos] java/awt/Mouse/EnterExitEvents/DragWindowTest.java continues to fail with "No MouseReleased event on label!"

Damon Nguyen dnguyen at openjdk.org
Wed Sep 24 22:54:53 UTC 2025


Test is currently problem-listed due to the test failing on both macOS arm and x64 machines. Updated the test to use `SwingUtilities.invokeAndWait` and use the EDT to dispose of the frame. Also needed to modify the delay for stability. Initially, I removed `setAutoDelay` since this has caused issues previously, but this caused a failure in linux (when previously linux has never failed). However, keeping the auto delay and adding additional small delays seems to be stable with all of the other changes to the test. The test passes in CI with multiple runs of 100 on all OS's with the proposed changes.

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

Commit messages:
 - Initial commit

Changes: https://git.openjdk.org/jdk/pull/27478/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27478&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8298823
  Stats: 85 lines in 2 files changed: 17 ins; 45 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/27478.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27478/head:pull/27478

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


More information about the client-libs-dev mailing list