On Thu, 23 Sep 2021 13:52:09 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> 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) Does it mean that the app will hang if it tries to dispose of the full-screen window? Why does it is happening? The dispose machinery in the window class should handle this case: DisposeAction{ .... if (gd.getFullScreenWindow() == Window.this) { gd.setFullScreenWindow(null); } ------------- PR: https://git.openjdk.java.net/jdk/pull/5653