RFR: 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests [v2]
Afshin Zafari
duke at openjdk.org
Wed May 3 12:04:15 UTC 2023
On Wed, 3 May 2023 05:42:29 GMT, David Holmes <dholmes at 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
More information about the hotspot-runtime-dev
mailing list