RFR: 8329210: Delete Redundant Printer Dialog Modality Test

Damon Nguyen dnguyen at openjdk.org
Wed Mar 27 18:44:29 UTC 2024


test/jdk/java/awt/print/Dialog/PrintModalDialog.java is too similar in functionality to test/jdk/java/awt/print/PrinterJob/PrinterDialogsModalityTest.java.

One test was originally for modality in web browsers, while the other was for modality in Windows OS printer dialogs, but after the updates, they both check for modality on print and page dialogs for all OSs.

Since PrinterDialogsModalityTest.java is the preferred test, this is to remove PrintModalDialog.java as a test. In addition, the bugID in the jtreg tags from PrintModalDialog.java will be added to PrinterDialogsModalityTest.java's tags to maintain a link to its original bug.

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

Commit messages:
 - Initial test deletion and jtreg tag adding

Changes: https://git.openjdk.org/jdk/pull/18524/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18524&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329210
  Stats: 128 lines in 2 files changed: 0 ins; 127 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18524.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18524/head:pull/18524

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


More information about the client-libs-dev mailing list