JDK-8320677 : Printer tests use invalid '@run main/manual=yesno'
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 11,17,21,22
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-11-23
  • Updated: 2023-11-23
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
The following printer tests use the invalid  `@run main/manual=yesno`:

test/jdk/java/awt/print/Dialog/DialogType.java
test/jdk/java/awt/print/PrinterJob/PageRanges.java
test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java
test/jdk/java/awt/print/PrinterJob/PrintTextTest.java
test/jdk/java/awt/print/PrinterJob/SwingUIText.java

If you run them, you'll get a jtreg error:
Error. Parse Exception: Arguments to `manual' option not supported: yesno

The list can be produced by running the following command in the jdk repo:
grep -r -l 'main/manual=yesno' test/jdk/java/awt/print test/jdk/javax/print/

* test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java has no `@test` tag at the moment, jtreg rejects it as not a test.
Comments
java/awt/print/Dialog/DialogType.java is addressed by JDK-8315584.
23-11-2023

These tests are also listed in JDK-6970771; the list of tests is larger there. I submitted a new bug for a specific area in the hope, it'll get resolved quicker.
23-11-2023