java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java is timing out on a macOS 12 aarch64 (an Apple Silicon Mac Mini) system due to getting locked on frame.dispose() even though test passed. Modified test to use JFrame in EDT and revert the frame back to windowed mode before dispose frame in finally block.
Modified test pass in CI system for several iterations in all platforms (including macos x64 and aarch64) ------------- Commit messages: - 8273618: DisplayChangeVITest.java is timing out on macOS 12 aarch64 - 8273618: DisplayChangeVITest.java is timing out on macOS 12 aarch64 Changes: https://git.openjdk.java.net/jdk/pull/5653/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5653&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8273618 Stats: 48 lines in 2 files changed: 17 ins; 2 del; 29 mod Patch: https://git.openjdk.java.net/jdk/pull/5653.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5653/head:pull/5653 PR: https://git.openjdk.java.net/jdk/pull/5653