From fa2f4787a282c638392424e13f7a621b4f52eaa6 Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Fri, 15 Nov 2024 10:20:14 -0500 Subject: [PATCH] Set test flag vm.opt.final.ClassUnloading Backport https://github.com/ibmruntimes/openj9-openjdk-jdk21/pull/34 Issue https://github.com/eclipse-openj9/openj9/issues/20587 Signed-off-by: Peter Shipton --- closed/test/jtreg-ext/requires/OpenJ9PropsExt.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/closed/test/jtreg-ext/requires/OpenJ9PropsExt.java b/closed/test/jtreg-ext/requires/OpenJ9PropsExt.java index 32810e9435b..91320da9496 100644 --- a/closed/test/jtreg-ext/requires/OpenJ9PropsExt.java +++ b/closed/test/jtreg-ext/requires/OpenJ9PropsExt.java @@ -1,6 +1,6 @@ /* * =========================================================================== - * (c) Copyright IBM Corp. 2019, 2023 All Rights Reserved + * (c) Copyright IBM Corp. 2019, 2024 All Rights Reserved * =========================================================================== * * This code is free software; you can redistribute it and/or modify it @@ -41,6 +41,7 @@ public Map call() { map.put("vm.graal.enabled", "false"); map.put("vm.hasJFR", "false"); map.put("vm.musl", "false"); + map.put("vm.opt.final.ClassUnloading", "true"); } catch (Exception e) { e.printStackTrace();