RFR: 8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java

Daniel Gredler duke at openjdk.org
Fri Oct 25 15:53:33 UTC 2024


There are multiple issue with this test case
1) Parser error due to yesno in @run main/manual=yesno
2) User can only compare the UI rendering and compare with the print out. User can't mark the test as pass or fail due to pass or fail buttons are missing.
3) When the test is executed using jtreg after user click on the print button on the print dialog the whole test UIs ( frames) gets dispose and user cannot compare the printout with the UI. But this works as expected in test is running individually using java PrintTextTest

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

Commit messages:
 - Modernize java/awt/print/PrinterJob/PrintTextTest.java

Changes: https://git.openjdk.org/jdk/pull/21716/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21716&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8283664
  Stats: 202 lines in 1 file changed: 32 ins; 146 del; 24 mod
  Patch: https://git.openjdk.org/jdk/pull/21716.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21716/head:pull/21716

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


More information about the client-libs-dev mailing list