On Mon, 28 Jul 2025 13:15:17 GMT, Christian Heilmann <[email protected]> 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

Reply via email to