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

Roland Mesde duke at openjdk.org
Mon Feb 16 19:58:19 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)

This pull request has now been integrated.

Changeset: ea96f83c
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/ea96f83c99e85f5699fdc323408f8280a69e4f5d
Stats:     55 lines in 1 file changed: 8 ins; 33 del; 14 mod

8367772: Refactor createUI in PassFailJFrame

Backport-of: d278043ddba0cd9ec3ddf8b490366965f5831a22

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

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


More information about the jdk-updates-dev mailing list