Hi Reviewers, This fix will resolve page range not printing proper pages if the rage begin from 2 or above on Mac machines. I have verified the manual range related tests like PageRanges.java, ClippedImages.java and test.java and confirmed its fixing the issue.
Please review and let me know your suggestions if any. ------------- Commit messages: - JDK-8297191:[macos] printing page range "page 2 to 2" or "page 2 to 4" on macOS leads to not print Changes: https://git.openjdk.org/jdk/pull/19740/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19740&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8297191 Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/19740.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19740/head:pull/19740 PR: https://git.openjdk.org/jdk/pull/19740