JDK-8320303 : Allow PassFailJFrame to accept single window creator
  • Type: Enhancement
  • Component: client-libs
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-11-17
  • Updated: 2024-09-19
  • Resolved: 2023-12-05
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.3Fixed 22 b27Fixed 8u421Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
JDK-8294156 allows creating a list of windows, which makes the PassFailJFrame manual framework flexible in accepting a list of test UI windows, yet the most usual case is one test UI window but the existing interface requires you to return a List.

It's possible to relax this requirement by providing an alternative interface. Such an addition will simplify creating single-window tests.
Comments
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 Have checked GHA test pass except the Risc-V issue, want to integrate this because JDK-8320342 depends on this.
07-03-2024

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
29-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2568 Date: 2024-02-28 07:49:18 +0000
28-02-2024

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

Fix request [21u] I backport this for parity with 21.0.3-oracle. No risk, only a test 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
26-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/274 Date: 2024-02-21 06:13:51 +0000
21-02-2024

Changeset: 83ffc1ac Author: Alexey Ivanov <aivanov@openjdk.org> Date: 2023-12-05 17:22:57 +0000 URL: https://git.openjdk.org/jdk/commit/83ffc1ac94b8893532d8663b9058592f1714d337
05-12-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16717 Date: 2023-11-17 20:01:55 +0000
17-11-2023