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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Jan 4 08:47:56 UTC 2021


On Mon, 4 Jan 2021 08:26:04 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Test fails with timeout and it seems likely due to non-availability of printer in the test system. We should just update the test to check for default (or available) printers and return if there is no printer.
>
> If the printer is not found then why the "PrinterException: No print service found" 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.

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

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


More information about the 2d-dev mailing list