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

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Aug 1 05:19:56 UTC 2025


On Tue, 22 Jul 2025 22:10:37 GMT, Phil Race <prr at openjdk.org> wrote:

>> 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

Looks ok otherwise..

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

Marked as reviewed by psadhukhan (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26432#pullrequestreview-3077683713


More information about the client-libs-dev mailing list