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

duke duke at openjdk.org
Mon Feb 16 17:48:01 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)

@rm-gh-8 
Your change (at version 4c07893b13fe3b8d80233ca21491ba2ad1f2ad51) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/260#issuecomment-3909764884


More information about the jdk-updates-dev mailing list