The java.desktop module has a few implementations of the finalize() method
which do nothing. We can remove such methods
if the class is not public API, and could mark these methods in the public
classes as "forRemoval = true"
-------------
Commit messages:
- @SuppressWarnings("removal")
- Initial fix
Changes: https://git.openjdk.java.net/jdk/pull/675/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=675&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8254798
Stats: 49 lines in 6 files changed: 3 ins; 38 del; 8 mod
Patch: https://git.openjdk.java.net/jdk/pull/675.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/675/head:pull/675
PR: https://git.openjdk.java.net/jdk/pull/675