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

Damon Nguyen dnguyen at openjdk.org
Thu Sep 25 18:53:20 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.

Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:

  Review comment updates

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27478/files
  - new: https://git.openjdk.org/jdk/pull/27478/files/413b6b40..077d4821

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27478&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27478&range=00-01

  Stats: 16 lines in 1 file changed: 7 ins; 7 del; 2 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