O'Reilly logo
  • Tansu Dasli thinks this is interesting:

You should never use method finalize, because it can cause many problems and there’s uncertainty as to whether it will ever get called before a program terminates.

From

Cover of Java® 9 for Programmers, Fourth Edition

Note

finalize is deprecated in Java 9.