From 7817dd62c590097780f79cf8ee5b490e6ad6ae45 Mon Sep 17 00:00:00 2001 From: Kabir Khan Date: Tue, 19 Mar 2024 18:57:54 +0000 Subject: [PATCH] [WFCORE-6728] Tweak default if there is no reloaded stability --- server/src/main/java/org/jboss/as/server/ServerEnvironment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/jboss/as/server/ServerEnvironment.java b/server/src/main/java/org/jboss/as/server/ServerEnvironment.java index 3a075668802..733359c80ca 100644 --- a/server/src/main/java/org/jboss/as/server/ServerEnvironment.java +++ b/server/src/main/java/org/jboss/as/server/ServerEnvironment.java @@ -1280,7 +1280,7 @@ ManagedAuditLogger createAuditLogger() { ServerEnvironment recalculateForReload(RunningModeControl runningModeControl) { if (runningModeControl.isReloaded()) { - Stability stability = runningModeControl.getReloadedStability() != null ? runningModeControl.getReloadedStability() : productConfig.getDefaultStability(); + Stability stability = runningModeControl.getReloadedStability() != null ? runningModeControl.getReloadedStability() : this.stability; if (stability != this.stability) { System.setProperty(ProcessEnvironment.STABILITY, stability.toString());