New candidate JEP: 421: Deprecate Finalization for Removal

mark.reinhold at mark.reinhold at
Mon Nov 1 19:57:50 UTC 2021

  Summary: Deprecate finalization for removal in a future
  release. Finalization remains enabled by default for now, but can
  be disabled to facilitate early testing. In a future release it
  will be disabled by default, and in a later release it will be
  removed. Maintainers of libraries and applications that rely upon
  finalization should consider migrating to other resource management
  techniques such as the try-with-resources statement and cleaners.

- Mark

More information about the jdk-dev mailing list