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

duke duke at openjdk.org
Mon Feb 16 17:51:19 UTC 2026


On Thu, 12 Feb 2026 17:59:57 GMT, Roland Mesde <duke at openjdk.org> wrote:

> 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)

@rm-gh-8 
Your change (at version f3908130ad5a0b398f786eab5c72036b7c92d6f3) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/264#issuecomment-3909775308


More information about the jdk-updates-dev mailing list