New candidate JEP: 421: Deprecate Finalization for Removal
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Mon Nov 1 19:57:50 UTC 2021
https://openjdk.java.net/jeps/421
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 core-libs-dev
mailing list