JDK-8254798 : Deprecate for removal an empty finalize() methods in java.desktop module
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-10-14
  • Updated: 2021-08-29
  • Resolved: 2020-10-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b21Fixed
Related Reports
CSR :  
Relates :  
Description
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"
Comments
Changeset: dd032b7f Author: Sergey Bylokhov <serb@openjdk.org> Date: 2020-10-19 03:11:51 +0000 URL: https://git.openjdk.java.net/jdk/commit/dd032b7f
19-10-2020