On Wed, 4 Mar 2026 22:21:55 GMT, Phil Race <[email protected]> wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> jcheck > > test/jdk/java/awt/PrintJob/TestPrintNoException.java line 36: > >> 34: * @build PassFailJFrame >> 35: * @summary Verifies No Exception is thrown when Printing "All" pages >> 36: * @run main/manual TestPrintNoException > > https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/java/awt/JobAttributes.DialogType.html > can be NONE > And then the test can be automated. > Or does the exception only happen if there was a dialog displayed ?
Yes the exception only happen when a DIalogType.NATIVE print dialog is used, which is the default and it doesn't happen for COMMON and NONE dialogtype ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29874#discussion_r2887051108
