Test was deproblemlisted in https://github.com/openjdk/jdk/pull/27136 without any modifications as it was passing in testing. Since it again failed, added the execution in EDT to be more thread-safe.
Fix is tested against several CI jobs each with several iterations link of which is in JBS ------------- Commit messages: - 8367784: ava/awt/Focus/InitialFocusTest/InitialFocusTest1.java failed with Wrong focus owner Changes: https://git.openjdk.org/jdk/pull/27332/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27332&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8367784 Stats: 23 lines in 1 file changed: 11 ins; 1 del; 11 mod Patch: https://git.openjdk.org/jdk/pull/27332.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27332/head:pull/27332 PR: https://git.openjdk.org/jdk/pull/27332
