[jdk25u-dev] RFR: 8367772: Refactor createUI in PassFailJFrame

duke duke at openjdk.org
Mon Feb 16 17:46:53 UTC 2026


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

> Backporting JDK-8367772: Refactor createUI in PassFailJFrame.
> 
> This PR refactors PassFailJFrame UI creation to use Builder pattern internally, eliminating parameter proliferation and code duplication.
> 
> For parity with Oracle JDK.
> 
> Ran a manual test that uses the PassFailJFrame on macos-aarch64:
> 
> ~/github/jtreg/build/images/jtreg/bin/jtreg -jdk build/macosx-aarch64-server-release/images/jdk -m test/jdk/java/awt/Dialog/ModalDialogTest/ModalDialogTest.java
> 
> ScreenShots:
> 
> <img width="1440" height="513" alt="ModalDialogTest1" src="https://github.com/user-attachments/assets/fca925f3-f7b3-4366-a909-436f3e40315d" />
> <img width="1432" height="624" alt="ModalDialogTest2" src="https://github.com/user-attachments/assets/0bb5c1f0-c7ec-41a1-9bec-dc80c78dcb57" />
> 
> Results:
> 
> [summary.txt](https://github.com/user-attachments/files/25271647/summary.txt)

@rm-gh-8 
Your change (at version 7e55699a7fe21f45515bcbfd6c8bc01a33c191d3) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/250#issuecomment-3909758908


More information about the jdk-updates-dev mailing list