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

Anass Baya abaya at openjdk.org
Wed Oct 22 10:35:20 UTC 2025


> The tests : 
>   test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java
>   test/jdk/java/awt/print/PrinterJob/PageRanges.java      
>   
>   were failing because the Argument yesno to 'manual' option is invalid 
> the fix is as follow : 
> - Removed yesno
> - Used PassFailJFrame manual test framework 
> - add the missing keyboard  'test' to PolylinePrintingTest.java

Anass Baya has updated the pull request incrementally with two additional commits since the last revision:

 - Verify printer availability at the beginning of the test execution
 - Using the PolylinePrintingTest builder

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27916/files
  - new: https://git.openjdk.org/jdk/pull/27916/files/c247b77d..1724e0aa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27916&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27916&range=00-01

  Stats: 36 lines in 2 files changed: 13 ins; 4 del; 19 mod
  Patch: https://git.openjdk.org/jdk/pull/27916.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27916/head:pull/27916

PR: https://git.openjdk.org/jdk/pull/27916


More information about the client-libs-dev mailing list