RFR: 8362452: [macOS] Remove CPrinterJob.finalize()
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Jul 17 08:02:48 UTC 2025
On Wed, 16 Jul 2025 20:47:23 GMT, Phil Race <prr at openjdk.org> wrote:
> Replace finalization with 2D Disposer
src/java.desktop/macosx/classes/sun/lwawt/macosx/CPrinterJob.java line 661:
> 659:
> 660: private static native long createNSPrintInfo();
> 661: private static native void disposeNSPrintInfo(long printInfo);
What is the reason for using static here when it was not before?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26359#discussion_r2212602253
More information about the client-libs-dev
mailing list