[OpenJDK 2D-Dev] RFR: 8196301: java/awt/print/PrinterJob/Margins.java times out [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Fri Feb 19 04:34:51 UTC 2021
> This test was timing out in windows in mach5 nightly testing. Investigation reveals that 70% of the time, it is failing due to printer being chosen was Microsoft Print to PDF which opens up a File Save Dialog when "OK" was clicked in printer pagedialog. Since no user intervention is done to dismiss the modal filedialog, so subsequent pagedialog was not dismissed resulting in timeout.
> Other times, it was found that "One Note" software printer was used as default printerservice which again, opens up a OneNote app which again gets focus and obscure pagedialog so PageDialog did not get dismissed.
> Updated test to ignore "Print To PDF", "OneNote" and "XPS Document Writer"(which again opens filedialog like PDF printer) and run it for several iteration in mach5 platforms which is ok. Link in JBS.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
Remove pdf printer check
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2598/files
- new: https://git.openjdk.java.net/jdk/pull/2598/files/d8d6b702..783374c0
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2598&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2598&range=00-01
Stats: 7 lines in 1 file changed: 0 ins; 7 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/2598.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2598/head:pull/2598
PR: https://git.openjdk.java.net/jdk/pull/2598
More information about the 2d-dev
mailing list