JDK-8294156 : Allow PassFailJFrame.Builder to create test UI
  • Type: Enhancement
  • Component: client-libs
  • Affected Version: 17,19,20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-22
  • Updated: 2024-09-18
  • Resolved: 2023-10-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21 JDK 22 JDK 8
11.0.24-oracleFixed 17.0.12-oracleFixed 21.0.2Fixed 22 b21Fixed 8u421Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Enhance PassFailJFrame.Builder with a method to create test UI.

Passing a lambda or method reference allows the PassFailJFrame to create the test UI window, to add it to the internal window list and to install the window closing listener.

This would make setting up the test look as sequence of Builder method calls.
Comments
Fix request [11u] I backport this for parity with 11.0.24-oracle. No risk, only tests change. Clean backport. Local test pass with these tests: test/jdk/javax/swing/JComboBox/JComboBoxActionEvent.java test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java test/jdk/javax/swing/JRadioButton/bug4380543.java
27-02-2024

Fix request [17u] I backport this for parity with 17.0.11-oracle. No risk, only tests change. Clean backport. Local test pass with these tests: test/jdk/javax/swing/JComboBox/JComboBoxActionEvent.java test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java test/jdk/javax/swing/JRadioButton/bug4380543.java
27-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2551 Date: 2024-02-26 07:27:09 +0000
26-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2233 Date: 2024-02-26 07:24:28 +0000
26-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/385 Date: 2023-11-20 15:06:55 +0000
20-11-2023

Fix request: 21u This enhancement adds another feature to PassFailJFrame which allows the framework to create the test UI via a call-back method. This feature greatly simplifies creating the tests. Clean backport on top of JDK-8294158. Low risk.
10-11-2023

Changeset: 42b9ac8a Author: Alexey Ivanov <aivanov@openjdk.org> Date: 2023-10-25 11:31:44 +0000 URL: https://git.openjdk.org/jdk/commit/42b9ac8a07b540f4d7955a778923d24a876451cc
25-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15721 Date: 2023-09-13 14:42:59 +0000
13-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15665 Date: 2023-09-11 15:36:56 +0000
11-09-2023

This change builds on top of JDK-8294158.
11-09-2023