RFR: 8273617: UninitializedDisplayModeChangeTest.java times out on macOS 12 [v2]

Sergey Bylokhov serb at openjdk.java.net
Tue Sep 28 22:52:31 UTC 2021


On Tue, 28 Sep 2021 10:02:52 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java is timing out every time on macOS 12 even though the test passed.
>> Looks like the the main process waits for child process created in the test forever, making it timeout after jtreg timeout of 2min.
>> Modified to wait for childprocess for 30secs.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove thread blocking

I am not sure that it is a good thing to add a workaround to the code just to pass the test. The appkit still will be locked and any call to it will hang as well.

You can achieve the same test result by commenting out the "gd.setFullScreenWindow(null)", no code no problems, but I do not think it is the right thing to do.

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

PR: https://git.openjdk.java.net/jdk/pull/5647



More information about the client-libs-dev mailing list