tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r934233 - /tomcat/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java
Date Wed, 14 Apr 2010 22:47:57 GMT
Author: markt
Date: Wed Apr 14 22:47:57 2010
New Revision: 934233

URL: http://svn.apache.org/viewvc?rev=934233&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49110
Make inner class static to prevent possible memory leak - found by FindBugs

Modified:
    tomcat/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java

Modified: tomcat/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java?rev=934233&r1=934232&r2=934233&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java (original)
+++ tomcat/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java Wed Apr 14 22:47:57 2010
@@ -174,7 +174,7 @@ public class JspFactoryImpl extends JspF
         }
     }
 
-    protected final class PageContextPool  {
+    protected static final class PageContextPool  {
 
         private PageContext[] pool;
 



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


Mime
View raw message