RFR: 8305082: Suppress the warning for finalize() from test/hotspot/jtreg/runtime/linkResolver/InterfaceObjectTest.java

Afshin Zafari duke at openjdk.org
Mon May 8 12:06:29 UTC 2023


On Fri, 5 May 2023 13:17:17 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> The warning is suppressed. The `finalize()` method is used intentionally as a method inherited from `Object`.
>
> There are no other protected methods in java.lang.Object and I think the test is looking for protected.  Should he just remove the finalize part of the test?

> @coleenp yes I think @afshin-zafari can just remove the finalize case from the test. I agree the protected aspect is important here. Thanks.

I have removed `finalize` from both the `.java` file and the `.jasm` file.

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

PR Comment: https://git.openjdk.org/jdk/pull/13778#issuecomment-1538245451


More information about the hotspot-runtime-dev mailing list