- Podcasts
- Inside Java
- "JEP 421 and Finalization Deprecation"
"JEP 421 and Finalization Deprecation"
Inside Java
- January 12, 2022
- 23 min
- Season 1, episode 21
About this episode
In this episode, David remotely sat down with Brent Christian to discuss Finalization and the effort to gradually deprecate this now outdated, brittle, and complex mechanism from the platform. After covering some of the finalization weaknesses, Brent discusses the alternatives to properly deal with resources, i.e. try with resources and the Cleaner API. He then continues with JEP 421 which will be part of JDK 18 and some potential subsequent steps.
