JDK-8324808 : Manual printer tests have no Pass/Fail buttons, instructions close set 3
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 11,17,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-01-29
  • Updated: 2025-04-08
  • Resolved: 2024-04-02
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 23 JDK 8
11.0.26-oracleFixed 17.0.13-oracleFixed 21.0.5-oracleFixed 23 b17Fixed 8u441Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The following manual printer tests use Sysout framework/classes to display its UI; it was used with applets but the tests are now converted to standalone apps, and there are no Pass or Fail buttons displayed. The instructions quickly appear on the screen and close quickly; in some cases they close after you click Print/OK in a displayed dialog.

This is not the intended behaviour.

The list of tests:

test/jdk/java/awt/print/PrinterJob/PageDlgPrnButton.java
test/jdk/java/awt/print/PrinterJob/PrintCompoundString.java
test/jdk/java/awt/print/PrinterJob/PrintImage.java
test/jdk/java/awt/print/PrinterJob/PrintNullString.java
test/jdk/java/awt/print/PrinterJob/PrintParenString.java
test/jdk/java/awt/print/PrinterJob/PrintTranslatedFont.java


Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/17609 Date: 2024-01-29 07:22:57 +0000
08-04-2025

Fix request [17u] I backport this for parity with 17.0.14-oracle. No risk, only tests change. Clean backport. Test pass. SAP nightly testing passed.
19-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/2887 Date: 2024-09-18 06:50:04 +0000
18-09-2024

Fix request [21u] I backport this for parity with 21.0.5-oracle. No risk, only a test change. Clean backport. Test pass. SAP nightly testing passed.
02-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/890 Date: 2024-08-01 08:53:06 +0000
01-08-2024

Changeset: af7c6af0 Author: Renjith Kannath Pariyangad <rkannathpari@openjdk.org> Committer: Phil Race <prr@openjdk.org> Date: 2024-04-02 04:28:50 +0000 URL: https://git.openjdk.org/jdk/commit/af7c6af0cc1eb6c42199c05933c7feb032bd6353
02-04-2024