Episode 21 “JEP 421 and Finalization Deprecation”

Posted on January 12, 2022



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.

For more episodes, check out Inside Java and follow @Java on Twitter.

Contact us here.


Resources

Additional resources