On Thu, 5 Mar 2026 01:31:39 GMT, Prasanta Sadhukhan <[email protected]> wrote:
>> 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 ok ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29874#discussion_r2887429211
