JDK-8355441 : Remove antipattern from PassFailJFrame.forcePass javadoc
  • Type: Bug
  • Component: client-libs
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-04-23
  • Updated: 2025-07-17
  • Resolved: 2025-04-29
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 25 JDK 8
11.0.29-oracleFixed 17.0.17-oracleFixed 21.0.9-oracleFixed 25 b21Fixed 8u471Fixed
Related Reports
Causes :  
Relates :  
Description
The javadoc for PassFailJFrame.forcePass suggests an anti-pattern of forcibly passing the test if a resource is unavailable.

If a resource is unavailable or a feature isn't supported, the test should throw jtreg.SkippedException.

PassFailJFrame.forcePass should be used in semi-automatic tests when the test determines that all the conditions for passing the test are met.
Comments
Fix request [21u,17u] I backport this for parity with 21.0.9-oracle,17.0.17-oracle. No risk, only a test change. Clean backport. Testing pointless, doc change. Sap nightly testing passed.
12-07-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1966 Date: 2025-07-11 14:43:16 +0000
11-07-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3743 Date: 2025-07-11 14:43:23 +0000
11-07-2025

We are past RDP2 for 24.0.2. If this issue is critical, please follow the critical request process detailed at https://wiki.openjdk.org/display/JDKUpdates/JDK+24u
08-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk24u/pull/215 Date: 2025-05-06 17:42:46 +0000
06-05-2025

[jdk24u-fix-request] Approval Request from Manukumar V S to fix in 24u Clean backport, no risk, only a javadoc change and no testing required.
06-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1733 Date: 2025-05-05 09:50:06 +0000
05-05-2025

Changeset: bd7561c3 Branch: master Author: Manukumar V S <mvs@openjdk.org> Committer: Harshitha Onkar <honkar@openjdk.org> Date: 2025-04-29 16:43:15 +0000 URL: https://git.openjdk.org/jdk/commit/bd7561c315e8fd80e32cb154998bd28745c98682
29-04-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24837 Date: 2025-04-23 23:50:06 +0000
23-04-2025