7179006: [macosx] Print-to-file doesn't work: printing to the default printer instead. #339
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.
The text was updated successfully, but these errors were encountered:
@prrace The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an RFR email will be sent to the corresponding mailing list. If you would like to change these labels, use the
@prrace This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 52 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
@prrace Since your change was applied there have been 52 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit ea7c47c.