foundationdb
foundationdb copied to clipboard
Remove native resource cleanup in Java finalizers
We deprecated the behavior of relying on Java finalizers for native resource cleanup a while ago in release 5.1. This PR now removes this behavior so that we don't have any custom finalizers.
This is, strictly speaking, a breaking change? I of course agree one should not rely on Finalizers, and I think we do not, but I can't be 100% sure. So in case we do, this will be potentially a breaking change, right?
Yes, this is a behavior change that would result in not having the finalizer available as a backstop anymore.
@alecgrieser , can you take a look?