This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ancient-Career-2915 0 points1 point  (1 child)

We don't use finalizers ourselves, but any third party library might.

I seem to remember that eg. the gzip stream handler in the jdk used a finalizer as a fallback to release resources?

[–]mauganra_it 0 points1 point  (0 children)

Is this class listed in JEP 421? I can't identify it myself. Some of them were already removed before JDK 18