RFR: 8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java
Srinivas Mandalika
smandalika at openjdk.org
Tue Jul 29 05:58:00 UTC 2025
On Fri, 25 Jul 2025 05:33:31 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.
Can someone take a quick look and provide feedback on this simple refactoring change ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26471#issuecomment-3130801539
More information about the client-libs-dev
mailing list