git commit: WW-4266 Adds support for IBM JVM to reload resources

2014-02-28 Thread lukaszlenart
Repository: struts
Updated Branches:
  refs/heads/develop 5d0cf8bac -> 9c5177c96


WW-4266 Adds support for IBM JVM to reload resources


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/9c5177c9
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/9c5177c9
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/9c5177c9

Branch: refs/heads/develop
Commit: 9c5177c961fb850b80089ef4113a17d361c23fa6
Parents: 5d0cf8b
Author: Lukasz Lenart 
Authored: Fri Feb 28 10:11:46 2014 +0100
Committer: Lukasz Lenart 
Committed: Fri Feb 28 10:11:46 2014 +0100

--
 .../com/opensymphony/xwork2/util/LocalizedTextUtil.java | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/struts/blob/9c5177c9/xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java
--
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 1f77428..8256cfb 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
@@ -791,7 +791,14 @@ public class LocalizedTextUtil {
 }
 if (!reloaded) {
 bundlesMap.clear();
-clearMap(ResourceBundle.class, null, "cacheList");
+try {
+clearMap(ResourceBundle.class, null, "cacheList");
+} catch (NoSuchFieldException e) {
+// happens in IBM JVM, that has a different 
ResourceBundle impl
+// it has a 'cache' member
+clearMap(ResourceBundle.class, null, "cache");
+}
+
 // now, for the true and utter hack, if we're running in 
tomcat, clear
 // it's class loader resource cache as well.
 clearTomcatCache();



[CONF] Confluence Changes in the last 24 hours

2014-02-28 Thread Anonymous (Confluence)
















  Confluence Changes in the last 24 hours  




 Apache Camel 

Pages

 Blog: CVE-2014-0002 and CVE-2014-0003 - Apache Camel critical disclosure vulnerability created by Christian Mueller [08:05 PM] 
 Page: Camel 2.13.0 Release edited by Raúl Kripalani [07:37 PM] (View Changes) 
 Page: Security Advisories edited by Christian Mueller [07:32 PM] (View Changes) 
 Page: Async edited by Henryk Konsek [12:42 PM] (View Changes) 
 Page: Tutorial-JmsRemoting edited by Claus Ibsen [07:32 AM] (View Changes) 


 Apache Cloudstack 

Pages

 Page: Test Automation report on Simulator edited by Srikanteswararao Talluri [11:06 AM] (View Changes) 
 Page: Automation infrastructure Changes. edited by Bharat Kumar [05:11 AM] (View Changes) 


 Apache Curator 

Pages

 Home page: Welcome to Curator edited by Jordan Zimmerman [11:49 AM] (View Changes) 
 Page: Curator's History edited by Jordan Zimmerman [04:31 AM] (View Changes) 


 Apache MyFaces 

Pages

 Page: FAQ edited by Leonardo Uribe [02:41 AM] (View Changes) 
 Home page: Index edited by Leonardo Uribe [02:39 AM] (View Changes) 


 OFBiz (Open For Business) Project Open Wiki 

Pages

 Page: POS System edited by Jacques Le Roux [09:01 AM] (View Changes) 


 Apache OpenOffice Community 

Pages

 Page: Directory of Volunteers edited by Andrea Pescetti [05:51 PM] (View Changes) 
 Page: AOO 4.1 Release Notes edited by Keith N. McKenna [05:11 PM] (View Changes) 
 Page: OOXML Export Status edited by clarence.guo.bj [06:22 AM] (View Changes) 
 Page: OOXML Export Framework created by clarence.guo.bj [03:27 AM] 


 Apache Solr Reference Guide 

Pages

 Page: Internal - T