RFR: 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests [v3]
Coleen Phillimore
coleenp at openjdk.org
Fri May 5 19:11:19 UTC 2023
On Fri, 5 May 2023 14:44:37 GMT, Afshin Zafari <duke at openjdk.org> wrote:
>> The `finalize()` method is removed from base classes/interfaces and are replaced by a Cleaner callback..
>
> Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
>
> 8305083: 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests
test/hotspot/jtreg/vmTestbase/nsk/share/Finalizable.java line 56:
> 54: * This method will register a cleanup method and create an instance of Finalizer
> 55: * to register the object for finalization at VM exit.
> 56: * It is implemented in FinalizableObject.
This sentence can go since it's implemented here now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13420#discussion_r1186420381
More information about the serviceability-dev
mailing list