[jdk25u-dev] Integrated: 8320677: Printer tests use invalid '@run main/manual=yesno

Roland Mesde duke at openjdk.org
Mon Feb 16 20:07:45 UTC 2026


On Wed, 11 Feb 2026 21:53:52 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8320677: Printer tests use invalid '@run main/manual=yesno.
> 
> This PR fixes printer tests that used invalid @run main/manual=yesno syntax by removing yesno, migrating to PassFailJFrame framework, and adding missing @test tag to PolylinePrintingTest.java.
> 
> For parity with Oracle JDK.
> 
> Ran manual tests on macos-aarch64:
> 
> ~/github/jtreg/build/images/jtreg/bin/jtreg -jdk build/macosx-aarch64-server-release/images/jdk -m test/jdk/java/awt/print/PrinterJob/PageRanges.java
> 
> Screenshots:
> 
> <img width="1394" height="729" alt="PageRanges1" src="https://github.com/user-attachments/assets/004c3b08-f42c-484b-9443-be9859b7fb19" />
> <img width="1209" height="930" alt="PageRanges2" src="https://github.com/user-attachments/assets/fce8acef-7948-4330-9067-2d922042f49f" />
> 
> Output:
> 
> [PageRanges1.pdf](https://github.com/user-attachments/files/25245460/PageRanges1.pdf)
> [PageRanges2.pdf](https://github.com/user-attachments/files/25245462/PageRanges2.pdf)
> 
> Result:
> 
> [summary.txt](https://github.com/user-attachments/files/25245463/summary.txt)
> 
> ~/github/jtreg/build/images/jtreg/bin/jtreg -jdk build/macosx-aarch64-server-release/images/jdk -m test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java
> 
> Screenshot:
> 
> <img width="1304" height="910" alt="PolylinePrinting" src="https://github.com/user-attachments/assets/b3e6424e-0fdd-4959-ac7d-ebb3ba546b84" />
> 
> Output:
> 
> [PolylinePrinting.pdf](https://github.com/user-attachments/files/25245616/PolylinePrinting.pdf)
> 
> Result:
> 
> [summary.txt](https://github.com/user-attachments/files/25245612/summary.txt)

This pull request has now been integrated.

Changeset: 72d3ed26
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/72d3ed26333140602f75aedfccdfb3a1a63da1ab
Stats:     218 lines in 2 files changed: 44 ins; 152 del; 22 mod

8320677: Printer tests use invalid '@run main/manual=yesno

Backport-of: ffcb1585ed6c2a2bff28be6854d44a672aa31a0b

-------------

PR: https://git.openjdk.org/jdk25u-dev/pull/260


More information about the jdk-updates-dev mailing list