struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luigi Fugaro (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4379) LocalizedTestUtil by ClassLoader
Date Wed, 30 Jul 2014 09:55:38 GMT
Luigi Fugaro created WW-4379:
--------------------------------

             Summary: LocalizedTestUtil by ClassLoader
                 Key: WW-4379
                 URL: https://issues.apache.org/jira/browse/WW-4379
             Project: Struts 2
          Issue Type: Improvement
    Affects Versions: 2.3.16.3
         Environment: JBoss AS 7.x and JBoss EAP 6.x, JVM 1.7
            Reporter: Luigi Fugaro


This improvement enables struts to be used as JBoss AS 7/WildFly 8/JBoss EAP 6 module.

Issue:
having two or more applications using the same "struts-module" (meant as JBoss AS 7 module),
each application with its own resource bundle, the first one which initialized the LocalizedTextUtil
"wins" over the second and next application's resource bundles. Furthermore, to avoid overwriting
bundles, now each bundle is indexed into the bundlesMap by its key (resourceBundleName) and
prefixed by ClassLoader hash code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message