Isn’t it says that finalize() method is deprecated in java 9 and removed from java 12 for FileInputStream and FileOutputStream and from java.util.zip package.
If I’m not wrong, finalize() is not completely removed.
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.
110
u/4ipp Mar 19 '19
Looks like the popular interview question about differences between final, finalize and finally is going to die.