RFR: 8307448: Test RedefineSharedClassJFR fail due to wrong assumption

Erik Österlund eosterlund at openjdk.org
Thu May 4 12:26:14 UTC 2023


On Thu, 4 May 2023 12:08:28 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> Please review this fix to avoid a tier1 test failure.
> 
> **Summary**
> The newly added test wrongfully assumed that one of the transformed classes would be in use. This seem to be the case in most runs, but there is no guarantee. This change fixes the test to only verify that nothing is seen as shared when running with -Xshare:off.
> 
> **Testing**
> Verified that the test still passes locally.

Looks good.

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

Marked as reviewed by eosterlund (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13801#pullrequestreview-1412973518


More information about the serviceability-dev mailing list