On Thu, 18 Sep 2025 13:24:06 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> Test used to timeout even though it seems the test passed..Increased the 
> timeout to a safe value as sometimes it shows elapsed time to timeout > 
> 300secs in macOS in CI and also ensured the wait-time for child process to 
> execute the test is not been waiting endlessly.
> Also ensured the original display mode is resetted after the test to prevent 
> affecting following tests.
> 
> Tried 100 iterations of the fix on all platforms which is ok

test/jdk/java/awt/FullScreen/UninitializedDisplayModeChangeTest/DisplayModeChanger.java
 line 69:

> 67:                             f.dispose();
> 68:                         }
> 69:                         gd.setDisplayMode(currentDM);

Should not this be already reset by the gd.setFullScreenWindow(null)?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27365#discussion_r2361470970

Reply via email to