cover of episode “JEP 421 and Finalization Deprecation”

“JEP 421 and Finalization Deprecation”

2022/1/12
logo of podcast Inside Java

Inside Java

Frequently requested episodes will be transcribed first

Shownotes Transcript

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.