[OpenJDK 2D-Dev] RFR: 8215537: [TEST_BUG] java/awt/print/PrinterJob/LandscapeStackOverflow.java fails by timeout
Sergey Bylokhov
serb at openjdk.java.net
Mon Jan 4 09:26:56 UTC 2021
On Mon, 4 Jan 2021 08:45:21 GMT, Prasanta Sadhukhan <psadhukhan 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.
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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1927
More information about the 2d-dev
mailing list