Remove a finalize() method in CGraphicsEnvironment, replacing it with Disposer.
I don't see a way to add a test to verify this clean up. ------------- Commit messages: - 8362291 Changes: https://git.openjdk.org/jdk/pull/26332/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26332&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8362291 Stats: 21 lines in 2 files changed: 12 ins; 0 del; 9 mod Patch: https://git.openjdk.org/jdk/pull/26332.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26332/head:pull/26332 PR: https://git.openjdk.org/jdk/pull/26332