[jdk25u-dev] RFR: 8299304: Test "java/awt/print/PrinterJob/PageDialogTest.java" fails on macOS 13 x64 because the Page Dialog blocks the Toolkit

Roland Mesde duke at openjdk.org
Fri Feb 13 18:01:12 UTC 2026


Backporting JDK-8299304: Test "java/awt/print/PrinterJob/PageDialogTest.java" fails on macOS 13 x64 because the Page Dialog blocks the Toolkit.

This PR excludes PageDialogTest.java from macOS runs because the native Page Setup dialog is modal and blocks the Toolkit, which is expected macOS behavior.

For parity with Oracle JDK.

Ran related test on macos-aarch64 (no x64 available for testing but exclusion is at macos level):

make test TEST=test/jdk/java/awt/print/PrinterJob/PageDialogTest.java

~/github/jtreg/build/images/jtreg/bin/jtreg -jdk build/macosx-aarch64-server-release/images/jdk -m test/jdk/java/awt/print/PrinterJob/PageDialogTest.java

Results attached:

[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25297579/macos-aarch64-specific-test.log)
[macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25297655/macos-aarch64-specific-2-test.log)

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

Commit messages:
 - Backport 4a14c81a06ab2be1d56cd01288135fbd369eb9c7

Changes: https://git.openjdk.org/jdk25u-dev/pull/264/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=264&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299304
  Stats: 6 lines in 1 file changed: 1 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/264.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/264/head:pull/264

PR: https://git.openjdk.org/jdk25u-dev/pull/264


More information about the jdk-updates-dev mailing list