Recently, headful tests on macOS started failing due to accessibility changes in macOS - it seems the a11y subsystem gets initialized regardless of whether the VoiceOver status.
The failing tests share the same pattern: they call methods that trigger a11y notification in the test thread instead of FX application thread. The fix is to make these calls from the FX application thread. This is a trivial change so 1 reviewer should probably be sufficient. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - fixed tests Changes: https://git.openjdk.org/jfx/pull/2344/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2344&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8383610 Stats: 17 lines in 2 files changed: 8 ins; 0 del; 9 mod Patch: https://git.openjdk.org/jfx/pull/2344.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2344/head:pull/2344 PR: https://git.openjdk.org/jfx/pull/2344
