RFR: 8320443: [macos] Test java/awt/print/PrinterJob/PrinterDevice.java fails on macOS

Alexey Ivanov aivanov at openjdk.org
Thu Nov 23 17:09:07 UTC 2023


On Tue, 21 Nov 2023 21:23:12 GMT, Phil Race <prr at openjdk.org> wrote:

> For as long as we've had the macOS port, it seems that queries on the GraphicsConfiguration associated with
> a printer would give you null for the defaultTransform.
> Clearly this API isn't a popular one to call in such a context else we'd have had lots of reports.
> We have a test that would have caught it except that until recently the macOS printing implementation
> was swallowing exceptions it should not.

test/jdk/java/awt/print/PrinterJob/PrinterDevice.java line 26:

> 24: /*
> 25:  *
> 26:  * @bug 4276227 8320443

There's no `@test` tag, the test will not run without it.

Is it intentional?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16773#discussion_r1403612371


More information about the client-libs-dev mailing list