On Fri, 13 Nov 2020 19:25:57 GMT, Serguei Spitsyn <[email protected]> wrote:
>> The ap01t001 test creates six extra instances of the tested class, let them >> die, and then checks that it gets exactly six ObjectFree callbacks. The >> problem is that this is verified in the VMDeath callback and at that point >> the instance has gone out-of-scope and and a seventh ObjectFree event has >> been triggered. >> >> My proposed fix is to ensure that the test instance is kept alive. > > Hi Stefan, > It looks good to me. > Thank you for fixing it! > Serguei Thanks for reviewing! ------------- PR: https://git.openjdk.java.net/jdk/pull/1204
