[OpenJDK 2D-Dev] RFR: 8215537: [TEST_BUG] java/awt/print/PrinterJob/LandscapeStackOverflow.java fails by timeout

Sergey Bylokhov serb at openjdk.java.net
Tue Jan 12 10:46:58 UTC 2021


On Mon, 4 Jan 2021 09:23:50 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> IIUC, In windows there can be non-real printers like "Send To OneNote", "Fax" which falls in Printers/Scanner list but not exactly printer so PrinterException is not thrown.
>
>> IIUC, In windows there can be non-real printers like "Send To OneNote", "Fax" which falls in Printers/Scanner list but not exactly printer so PrinterException is not thrown.
> 
> I am not sure that the fax is related here, but the "printjob.print()" should throw such an exception if printjob.getPrintService() is null (so we do not have any useful printers). Do you have a chance to reproduce this bug?
> 
> BTW the suggestion in the JBS was to fail the test if no printers are found.

Not sure that one more manual test is needed, the run of the test marked by the printer keyword already required to have a configured printer. Otherwise, why do we need that keyword at all?

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

PR: https://git.openjdk.java.net/jdk/pull/1927


More information about the 2d-dev mailing list