RFR: 8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java [v2]

Srinivas Mandalika smandalika at openjdk.org
Tue Sep 2 04:53:43 UTC 2025


On Mon, 25 Aug 2025 12:04:45 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:

>> The java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java test uses object monitors and wait/notify to synchronise actions in the test.
>> 
>> Using CountDownLatch could make the test simpler, shorter, clearer.
>> Tested the code on a windows-x64, macos-x64 and lnux-x64 machines and the test is working as expected.
>
> Srinivas Mandalika has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8339791: review feedback incorporated.

I have incorporated the review suggestions. Can anyone provide feedback on these?

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

PR Comment: https://git.openjdk.org/jdk/pull/26471#issuecomment-3243772020


More information about the client-libs-dev mailing list