JDK-8293811 : Provide a reason for PassFailJFrame.forceFail
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-14
  • Updated: 2023-11-01
  • Resolved: 2022-09-19
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 20 JDK 8
11.0.21-oracleFixed 17.0.9-oracleFixed 20 b16Fixed 8u391Fixed
Related Reports
Relates :  
Relates :  
Description
PassFailJFrame was designed to provide a reason when a test is failed.

A new forceFail method was added but it leaves the reason empty. There should be an option to provide a reason.
Comments
Fix Request [11u] I am backporting this for parity with 11.0.21-oracle. Low risk as it only modifies tests. PrintAllPagesTest.java is not in 11u. The rest applies cleanly.
30-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2241 Date: 2023-10-30 16:44:27 +0000
30-10-2023

Fix Request (17u): Should get backported for parity with 17.0.9-oracle. PrintAllPagesTest.java is not in 17u. Rest applies cleanly (already reviewed).
02-07-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1522 Date: 2023-06-30 10:50:41 +0000
30-06-2023

Changeset: 64b96e5c Author: Alexey Ivanov <aivanov@openjdk.org> Date: 2022-09-19 14:22:36 +0000 URL: https://git.openjdk.org/jdk/commit/64b96e5cf57023a5d55b4392074e3922ac7c0534
19-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10269 Date: 2022-09-14 16:27:36 +0000
14-09-2022