[jdk25u-dev] RFR: 8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java
duke
duke at openjdk.org
Wed Feb 11 15:30:05 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)
@rm-gh-8
Your change (at version 759448bd602f5bb2b086d5fcb8c2890636b67d9b) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/248#issuecomment-3885169233
More information about the jdk-updates-dev
mailing list