RFR: 8297191: [macos] Printing a page range with starting page > 1 results in missing pages [v3]
Phil Race
prr at openjdk.org
Tue Nov 25 21:42:19 UTC 2025
On Tue, 25 Nov 2025 21:26:14 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> > > Indeed, it fixes this bug, but it breaks [JDK-8061258](https://bugs.openjdk.org/browse/JDK-8061258) and its test java/awt/print/PrinterJob/DlgAttrsBug.java… or maybe not because DlgAttrsBug.java fails without either version of the fix.
> >
> >
> > Isn't that because of https://bugs.openjdk.org/browse/JDK-8341058 ? ie a macOS bug fixed in macOS 26.
>
> Yes, I think it's the one. I have no access to a host with macOS 26.
>
> I suspect that both `DlgAttrsBug.java` and `PageRangesDlgTest.java` will fail if we comment out the calls to set `fromPage` and `toPage` in `printingDictionary` in the `javaPrinterJobToNSPrintInfo` function in `CPrinterJob.m`.
Meaning, even if running on macOS 26 they'll fail ? I suppose that's possible, or even likely, but it would be good to verify that.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/11266#issuecomment-3577692651
More information about the client-libs-dev
mailing list