mirror of
https://github.com/apache/struts.git
synced 2026-08-11 09:36:57 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user