Author: markt
Date: Wed Nov 18 23:47:29 2009
New Revision: 882004
URL: http://svn.apache.org/viewvc?rev=882004&view=rev
Log:
Fix NPE
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java
Modified: tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java?rev=882004&r1=882003&r2=882004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java
(original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java Wed Nov
18 23:47:29 2009
@@ -64,7 +64,7 @@
/*
* Counts how many times the webapp's JSPs have been reloaded.
*/
- private AtomicInteger jspReloadCount;
+ private AtomicInteger jspReloadCount = new AtomicInteger(0);
/**
* Preload classes required at runtime by a JSP servlet so that
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]