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

Anass Baya abaya at openjdk.org
Tue Oct 21 15:30:33 UTC 2025


The tests : 
  test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java
  test/jdk/java/awt/print/PrinterJob/PageRanges.java      
  
  were failing because the Arguments 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

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

Commit messages:
 - Update copyright
 - Update copyright
 - Add bug ID
 - add bug ID
 - Remove extra line
 - Convert test/jdk/java/awt/print/PrinterJob/PolylinePrintingTest.java to use PassFailJFrame
 - Convert :

Changes: https://git.openjdk.org/jdk/pull/27916/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27916&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320677
  Stats: 181 lines in 2 files changed: 23 ins; 132 del; 26 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