On Wed, 3 May 2023 05:42:29 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> It seems much better to force implementors to provide this method.
>
> Why? They all seem to do exactly the same thing.

After I moved the `registerCleanup` to the body of a `default` method in the 
interface, there is no need for the implementors of the `Finalizable` interface 
to provide this method. All of them can use the default one.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13420#discussion_r1183592572

Reply via email to