[OpenJDK 2D-Dev] RFR: 8196301: java/awt/print/PrinterJob/Margins.java times out

Phil Race prr at openjdk.java.net
Fri Feb 19 04:23:38 UTC 2021


On Fri, 19 Feb 2021 04:03:00 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Since this is one of the few printer test which is automated, it will fail locally too if someone has "Print to PDF", "XPS" or "OneNote" printer as default since it will open up filedialog or app which will prevent the focus to be on "OK" button of pagedialog, so the fix is applicable locally too, so I would like this fix to be considered.

There are other automated print tests. I know I used to spit out a bunch of pages just doing PIT. I think this is the wrong approach. 
@requires should not be confused with keywords.
The checks for PDF printers are not appropriate.

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

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


More information about the 2d-dev mailing list