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

Sergey Bylokhov serb at openjdk.org
Fri Sep 19 21:03:36 UTC 2025


On Fri, 19 Sep 2025 09:24:39 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> I guess it was not unstable and it was failing every time as per the description "is timing out every time on macOS 12. "
>> and atleast now it is not with this fix
>> 
>> but I get your point..I will see to it and make it more robust..
>
> I have modified the EDT code and also reduced the timeout..
> 
> 50 iterations of test run on all platforms is ok

>I dont see it does..It sets the bounds as I see, it does not reset the display mode..
>but say, even though it does, will it be a problem as this will be a no-op (its like double free)

It should be done by this part:
https://github.com/openjdk/jdk/blob/25a4e26320340cdda082cd45639e73b137ce45a2/src/java.desktop/macosx/classes/sun/awt/CGraphicsDevice.java#L238

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

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


More information about the client-libs-dev mailing list