is this question outdated?
I am reading that the finalize() method is a thing for before Java 9 and is not advised to be used for more modern solutions. Including I am getting some errors when trying to @Override it in the IntelliJ IDE.
Is it possible this question is outdated or what would be the expectation in terms of this

4 Replies
⌛
This post has been reserved for your question.
Hey @SidKid! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
technically it should still possible to override it
but it is terminally deprecated (deprecated for removal) and shouldn't be used any more
it's unreliable and can cause many issues so you shouldn't use it
The 90's called and want their java memory model questions back.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.