RFR: 8363889: Update sun.print.PrintJob2D to use Disposer [v3]

Phil Race prr at openjdk.org
Fri Aug 1 21:46:37 UTC 2025


> As laid out in the JBS issue, this updates the java.awt.PrintJob implementation to use a delegate which can be disposed instead of relying on finalize().
> 
> PrintJob.finalize() is not being removed, and won't be removed until there is a more definite plan for completely removing the finalize() mechanism.

Phil Race has updated the pull request incrementally with one additional commit since the last revision:

  8363889

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26432/files
  - new: https://git.openjdk.org/jdk/pull/26432/files/45a5aa7c..b70e147e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26432&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26432&range=01-02

  Stats: 17 lines in 2 files changed: 7 ins; 8 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/26432.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26432/head:pull/26432

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


More information about the client-libs-dev mailing list