Author: kkolinko
Date: Tue Jan 19 11:49:56 2010
New Revision: 900740

URL: http://svn.apache.org/viewvc?rev=900740&view=rev
Log:
Include root cause exception into the one produced by 
ApplicationContextFacade#doPrivileged()

Modified:
    tomcat/tc5.5.x/trunk/STATUS.txt
    
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java
    tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=900740&r1=900739&r2=900740&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Tue Jan 19 11:49:56 2010
@@ -95,11 +95,6 @@
   +1: kkolinko, markt, rjung
   -1:
 
-* Include root cause exception into the one produced by 
ApplicationContextFacade#doPrivileged()
-  http://svn.apache.org/viewvc?rev=831819&view=rev
-  +1: kkolinko, markt, rjung
-  -1:
-
 * Fix CVE-2009-3548 - Windows installer uses insecure default password
   http://svn.apache.org/viewvc?rev=834047&view=rev
   +1: markt, mturk

Modified: 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java?rev=900740&r1=900739&r2=900740&view=diff
==============================================================================
--- 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java
 (original)
+++ 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java
 Tue Jan 19 11:49:56 2010
@@ -374,7 +374,7 @@
         try{
             return invokeMethod(context, methodName, params);
         }catch(Throwable t){
-            throw new RuntimeException(t.getMessage());
+            throw new RuntimeException(t.getMessage(), t);
         }
     }
 

Modified: tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml?rev=900740&r1=900739&r2=900740&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml (original)
+++ tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml Tue Jan 19 
11:49:56 2010
@@ -97,6 +97,10 @@
       <fix>
         Close resource stream in WebappClassLoader after read error. (pero)
       </fix>
+      <fix>
+        Do not swallow exceptions in ApplicationContextFacade.doPrivileged()
+        (kkolinko)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to