JDK-8340784 : Remove PassFailJFrame constructor with screenshots
  • Type: Bug
  • Component: client-libs
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-24
  • Updated: 2025-03-18
  • Resolved: 2025-01-24
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 24 JDK 25 JDK 8
11.0.28-oracleFixed 17.0.16-oracleFixed 21.0.8-oracleFixed 24.0.2Fixed 25 b08Fixed 8u461Fixed
Related Reports
Relates :  
Relates :  
Description
The PassFailJFrame constructor which accepts `boolean screenCapture` can be removed. It was added in JDK-8294535 where the screenshot feature was added.

At the same time, JDK-8294535 added Builder class which provides simplified configuration of PassFailJFrame.

I haven't found any usage of the PassFailJFrame which passes the boolean parameter. Remove this constructor in favour using the Builder.

Other constructors are used in tests, they can't be removed unless these tests are refactored.
Comments
Fix request [17u,21u] I backport this for parity with 17.0.16-oracle,21.0.8-oracle. No risk, only a test change Clean backport. Executed some tests using this succesfully. SAP nighlty testing passed.
18-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3368 Date: 2025-03-17 11:19:47 +0000
17-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1508 Date: 2025-03-17 11:19:37 +0000
17-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk24u/pull/46 Date: 2025-02-04 19:18:27 +0000
04-02-2025

Fix request for 24u This fix removes an unused constructor from PassFailJFrame, manual test framework for client libraries. Risk: Low
24-01-2025

Changeset: 50ca4504 Branch: master Author: anass baya <anass.baya@oracle.com> Committer: Alexander Zvegintsev <azvegint@openjdk.org> Date: 2025-01-24 07:01:03 +0000 URL: https://git.openjdk.org/jdk/commit/50ca450417a5da7d4c6c08154515b8407bf656e8
24-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22873 Date: 2024-12-24 03:02:51 +0000
23-01-2025