RFR: 8359687: Use PassFailJFrame for java/awt/print/Dialog/DialogType.java [v2]

Srinivas Mandalika smandalika at openjdk.org
Thu Jun 19 09:02:11 UTC 2025


On Wed, 18 Jun 2025 05:46:14 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> Srinivas Mandalika has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Added SkippedException when Printer is unavailable.
>
> test/jdk/java/awt/print/Dialog/DialogType.java line 59:
> 
>> 57:         job = PrinterJob.getPrinterJob();
>> 58:         if (job.getPrintService() == null) {
>> 59:             throw new SkippedException("Printer not configured or not available");
> 
> Suggestion:
> 
>             throw new SkippedException("Test Skipped, Printer not configured or not available");

Done with a minor tweak 
throw new SkippedException("Test skipped, printer is unavailable");

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25842#discussion_r2156503727


More information about the client-libs-dev mailing list