[OpenJDK 2D-Dev] Integrated: 7179006: [macosx] Print-to-file doesn't work: printing to the default printer instead.
Phil Race
prr at openjdk.java.net
Sat Sep 26 04:18:27 UTC 2020
On Thu, 24 Sep 2020 16:38:50 GMT, Phil Race <prr at openjdk.org> wrote:
> A long-standing bug on macOS: https://bugs.openjdk.java.net/browse/JDK-7179006
>
> The fix is to propagate whatever is set as the Destination down to native and set it on the native printing object.
>
> Also if using the native dialog, but with attributes, copy back the destination from native to the Java attribute set.
>
> The new test can directly test printing to file in an automated way - so long as there is a printer.
>
> The updated manual test can be used to verify the cross-platform dialog case.
This pull request has now been integrated.
Changeset: ea7c47c1
Author: Phil Race <prr at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ea7c47c1
Stats: 239 lines in 4 files changed: 170 ins; 50 del; 19 mod
7179006: [macosx] Print-to-file doesn't work: printing to the default printer instead.
Reviewed-by: serb
-------------
PR: https://git.openjdk.java.net/jdk/pull/339
More information about the 2d-dev
mailing list