MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/b2zas5/java_12_released/eiw9h3e/?context=3
r/java • u/kedarjoshi • Mar 19 '19
98 comments sorted by
View all comments
110
finalize() methods have been removed...
Looks like the popular interview question about differences between final, finalize and finally is going to die.
7 u/[deleted] Mar 19 '19 Removed or just deprecated? While I agree with removing them thiswill break a bunch of codebases. My last job we had some really, really horrifying uses of finalize() in legacy code. 16 u/4ipp Mar 19 '19 As I remember, it was deprecated in jdk 9.The release notes state that it has been removed from many classes. Not sure if that means removing it everywhere. 8 u/GuyWithLag Mar 19 '19 This means that many classes of the JDK/JRE are no longer using finalizers. Complete removal takes some time.
7
Removed or just deprecated? While I agree with removing them thiswill break a bunch of codebases. My last job we had some really, really horrifying uses of finalize() in legacy code.
16 u/4ipp Mar 19 '19 As I remember, it was deprecated in jdk 9.The release notes state that it has been removed from many classes. Not sure if that means removing it everywhere. 8 u/GuyWithLag Mar 19 '19 This means that many classes of the JDK/JRE are no longer using finalizers. Complete removal takes some time.
16
As I remember, it was deprecated in jdk 9.
The release notes state that it has been removed from many classes. Not sure if that means removing it everywhere.
8 u/GuyWithLag Mar 19 '19 This means that many classes of the JDK/JRE are no longer using finalizers. Complete removal takes some time.
8
This means that many classes of the JDK/JRE are no longer using finalizers. Complete removal takes some time.
110
u/4ipp Mar 19 '19
Looks like the popular interview question about differences between final, finalize and finally is going to die.