tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1036972 - in /tomcat/trunk: java/javax/el/CompositeELResolver.java webapps/docs/changelog.xml
Date Fri, 19 Nov 2010 18:31:17 GMT
Author: markt
Date: Fri Nov 19 18:31:17 2010
New Revision: 1036972

URL: http://svn.apache.org/viewvc?rev=1036972&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50293
Increase default resolver array size. (Jasper adds 5 resolvers.)

Modified:
    tomcat/trunk/java/javax/el/CompositeELResolver.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/javax/el/CompositeELResolver.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/CompositeELResolver.java?rev=1036972&r1=1036971&r2=1036972&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/CompositeELResolver.java (original)
+++ tomcat/trunk/java/javax/el/CompositeELResolver.java Fri Nov 19 18:31:17 2010
@@ -29,7 +29,7 @@ public class CompositeELResolver extends
 
     public CompositeELResolver() {
         this.size = 0;
-        this.resolvers = new ELResolver[2];
+        this.resolvers = new ELResolver[8];
     }
 
     public void add(ELResolver elResolver) {

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1036972&r1=1036971&r2=1036972&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Nov 19 18:31:17 2010
@@ -197,6 +197,11 @@
         <bug>50192</bug>: Improve performance for EL when running under a
         security manager. Based on a patch by Robert Goff. (markt) 
       </fix>
+      <fix>
+        <bug>50293</bug>: Increase the size of internal ELResolver array from
2 
+        to 8 since in typical usage there are at least 5 resolvers. Based on a
+        patch by Robert Goff. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Cluster">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message