Since Java9 this method has been deprecated. Even before java9 using finalize was always disouraged. I really think it should be mentioned in the docs
Since Java9 this method has been deprecated. Even before java9 using finalize was always disouraged.
I really think it should be mentioned in the docs