geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r938790 - /geronimo/external/trunk/tomcat-parent-7.0.0/catalina/src/main/java/org/apache/catalina/core/StandardContext.java
Date Wed, 28 Apr 2010 06:01:21 GMT
Author: xuhaihong
Date: Wed Apr 28 06:01:21 2010
New Revision: 938790

URL: http://svn.apache.org/viewvc?rev=938790&view=rev
Log:
Fix an ArrayIndexOutOfBoundsException exception

Modified:
    geronimo/external/trunk/tomcat-parent-7.0.0/catalina/src/main/java/org/apache/catalina/core/StandardContext.java

Modified: geronimo/external/trunk/tomcat-parent-7.0.0/catalina/src/main/java/org/apache/catalina/core/StandardContext.java
URL: http://svn.apache.org/viewvc/geronimo/external/trunk/tomcat-parent-7.0.0/catalina/src/main/java/org/apache/catalina/core/StandardContext.java?rev=938790&r1=938789&r2=938790&view=diff
==============================================================================
--- geronimo/external/trunk/tomcat-parent-7.0.0/catalina/src/main/java/org/apache/catalina/core/StandardContext.java
(original)
+++ geronimo/external/trunk/tomcat-parent-7.0.0/catalina/src/main/java/org/apache/catalina/core/StandardContext.java
Wed Apr 28 06:01:21 2010
@@ -2623,7 +2623,7 @@ public class StandardContext
             System.arraycopy(filterMaps, 0, results, 0, filterMapInsertPoint);
             results[filterMapInsertPoint] = filterMap;
             System.arraycopy(filterMaps, filterMapInsertPoint, results,
-                    filterMaps.length - (filterMapInsertPoint + 1),
+                    filterMapInsertPoint + 1,
                     filterMaps.length - filterMapInsertPoint);
             
             filterMapInsertPoint++;



Mime
View raw message