RFR: 8296920: Regression Test DialogOrient.java fails on MacOS
Damon Nguyen
dnguyen at openjdk.org
Fri May 26 19:03:54 UTC 2023
On Fri, 12 May 2023 09:03:07 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Test was failing with PrinterException: Wrong Orientation since printing was done with default orientation.
> Fix is made to set the printable with correct PageFormat
>
> It was not seen prior to [JDK-8262731](https://bugs.openjdk.org/browse/JDK-8262731) probably because the exception was being swallowed..
Fix makes sense as the landscape var wasn't even used prior, which doesn't make sense as to why it was added in the first place. I tested with and without the change on my local MacOS machine and it now passes.
-------------
Marked as reviewed by dnguyen (Committer).
PR Review: https://git.openjdk.org/jdk/pull/13950#pullrequestreview-1446797969
More information about the client-libs-dev
mailing list