On cancelling PageDialog, same PageFormat object should be returned which 
stopped working after 
[JDK-8307160](https://bugs.openjdk.org/browse/JDK-8307160).
Fix is made to reinstate "doIt" flag removed in JDK-8307160 so that correct 
value is returned from PageDialog.show action..
An automated printing testcase is created since the issue was caught by manual 
test and so having another manual test run the risk of not being executed 
during CI testing..

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

Commit messages:
 - Page dialog fix

Changes: https://git.openjdk.org/jdk/pull/19786/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19786&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334509
  Stats: 71 lines in 2 files changed: 70 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19786.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19786/head:pull/19786

PR: https://git.openjdk.org/jdk/pull/19786

Reply via email to