On Tue, 9 May 2023 09:12:51 GMT, Afshin Zafari <d...@openjdk.org> wrote:

> This PR is continuation of https://github.com/openjdk/jdk/pull/13420 which 
> was far behind the master.

Brief reminder from original PR:
- `Finalizable` interface has `default` methods for `cleanup` and 
`registerCleanup`.
- `FinalizableObject` implements that interface.
- All the classes implementing the `Finalizable` interface just call the 
default methods. No need to override.
- When needed specific cleanup actions, the `cleanup()` method is overridden.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13884#issuecomment-1539778518

Reply via email to