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

David Holmes dholmes at openjdk.org
Mon May 8 02:34:22 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.

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

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


More information about the hotspot-runtime-dev mailing list