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

Phil Race prr at openjdk.org
Tue Nov 21 21:29:19 UTC 2023


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.

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

Commit messages:
 - 8320443

Changes: https://git.openjdk.org/jdk/pull/16773/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16773&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320443
  Stats: 74 lines in 4 files changed: 36 ins; 8 del; 30 mod
  Patch: https://git.openjdk.org/jdk/pull/16773.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16773/head:pull/16773

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


More information about the client-libs-dev mailing list