On Fri, 5 May 2023 14:44:37 GMT, Afshin Zafari <d...@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