RFR: 8297191: [macos] printing page range "page 2 to 2" or "page 2 to 4" on macOS leads to not print [v2]
Alexey Ivanov
aivanov at openjdk.org
Mon Aug 25 19:40:36 UTC 2025
On Mon, 28 Jul 2025 13:15:17 GMT, Christian Heilmann <duke at openjdk.org> wrote:
> > Does it work correctly if mDocument.getNumberOfPages() in CPrinterJob.java returns a certain number instead of UNKNOWN_NUMBER_OF_PAGES?
>
> I tried both variants and it does not work.
You didn't answer the question, so I had to write a test which also uses `Pageable` and returns the number of pages.
No, it doesn't work as expected *without* your suggested fix.
Yes, it does behave as expected *with* the fix. We're good.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/11266#discussion_r2298960870
More information about the client-libs-dev
mailing list