RFR: 8297191: [macos] Printing a page range with starting page > 1 results in missing pages [v6]

Christian Heilmann duke at openjdk.org
Wed Jan 14 12:47:08 UTC 2026


> This PR fixes a bug that caused no or the wrong set of pages to be printed when using page ranges on macOS.
> 
> The main fix is to change the 'location' value of the returned NSRange from the knowsPageRange method to 1 in the native class PrinterView.m.

Christian Heilmann has updated the pull request incrementally with one additional commit since the last revision:

  Changed copyright year to 2026

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11266/files
  - new: https://git.openjdk.org/jdk/pull/11266/files/845d55e7..64fbbd84

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11266&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11266&range=04-05

  Stats: 5 lines in 5 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/11266.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/11266/head:pull/11266

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


More information about the client-libs-dev mailing list