From cb9838871bf90ecaafa625775758dbe7fe0670b8 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Mon, 4 Apr 2011 07:55:54 +0000 Subject: [PATCH] Solves WW-3602 - clears bundle map on resource reloading git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1088493 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/com/opensymphony/xwork2/util/LocalizedTextUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java b/xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java index caeacc599..6f2eecf2d 100644 --- a/xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java +++ b/xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java @@ -777,8 +777,8 @@ public class LocalizedTextUtil { private static void reloadBundles() { if (reloadBundles) { try { + bundlesMap.clear(); clearMap(ResourceBundle.class, null, "cacheList"); - // now, for the true and utter hack, if we're running in tomcat, clear // it's class loader resource cache as well. clearTomcatCache();