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
This commit is contained in:
Lukasz Lenart
2011-04-04 07:55:54 +00:00
parent 786f6af96f
commit cb9838871b
@@ -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();