Test was failing due to lack of time between initializing graphics components and test start. Added robot delay and execution under EDT.
Several iterations of test is passing so deproblemlisting, CI job link in JBS ------------- Commit messages: - 8023263: [TESTBUG] Test closed/java/awt/Focus/InactiveWindowTest/InactiveFocusRace fails due to not enough time to initialize graphic components Changes: https://git.openjdk.org/jdk/pull/27156/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27156&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8023263 Stats: 28 lines in 2 files changed: 11 ins; 9 del; 8 mod Patch: https://git.openjdk.org/jdk/pull/27156.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27156/head:pull/27156 PR: https://git.openjdk.org/jdk/pull/27156
