JDK-8324807 : Manual printer tests have no Pass/Fail buttons, instructions close set 2
  • 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.27-oracleFixed 17.0.15-oracleFixed 21.0.7-oracleFixed 23 b17Fixed 8u451Fixed
Related Reports
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/Collate2DPrintingTest.java
test/jdk/java/awt/print/PrinterJob/DrawImage.java
test/jdk/java/awt/print/PrinterJob/DrawStringMethods.java
test/jdk/java/awt/print/PrinterJob/InvalidPage.java
test/jdk/java/awt/print/PrinterJob/NumCopies.java
test/jdk/java/awt/print/PrinterJob/JobName/PrinterJobName.java
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/17608 Date: 2024-01-29 06:52:01 +0000
08-04-2025

Fix request [21u,17u] I backport this for parity with 21.0.7-oracle,17.0.15-oracle. No risk, only a test change. Clean backport. Test start up properly, SAP nightly testing passed.
14-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3205 Date: 2025-01-13 08:27:15 +0000
13-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1322 Date: 2025-01-13 08:27:06 +0000
13-01-2025

Changeset: ed821cbe Author: Renjith Kannath Pariyangad <rkannathpari@openjdk.org> Committer: Alexey Ivanov <aivanov@openjdk.org> Date: 2024-04-02 11:26:04 +0000 URL: https://git.openjdk.org/jdk/commit/ed821cbe857363e049f3c640ae4546c340a577ac
02-04-2024