[jdk25u-dev] Integrated: 8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java

Roland Mesde duke at openjdk.org
Thu Feb 12 12:09:53 UTC 2026


On Mon, 9 Feb 2026 18:20:27 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java.
> 
> This PR refactors ActiveAWTWindowTest.java to use CountDownLatch instead of object monitors/wait/notify, replaces ExtendedRobot with Robot, ensures EDT compliance, and removes boilerplate code for simpler, clearer synchronization.
> 
> For parity with Oracle JDK.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST=test/jdk/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java
> 
> Results attached:
> 
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25215049/macos-aarch64-specific-test.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25215313/windows-x64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25215525/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25215526/linux-aarch64-specific-test.log)

This pull request has now been integrated.

Changeset: 780cc0cd
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/780cc0cd2bb18815ea5a21e2c656f73d8e888e69
Stats:     160 lines in 1 file changed: 26 ins; 89 del; 45 mod

8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java

Backport-of: a306f88a8456be454f4954c7e4fb8a1273344b5b

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

PR: https://git.openjdk.org/jdk25u-dev/pull/248


More information about the jdk-updates-dev mailing list