You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by lu...@apache.org on 2004/06/15 23:30:35 UTC
cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Compiler.java
luehe 2004/06/15 14:30:35
Modified: jasper2/src/share/org/apache/jasper/compiler Compiler.java
Log:
Fixed Bugzilla 29561 ("NullPointerException in Compiler.java:547")
Revision Changes Path
1.88 +1 -1 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java
Index: Compiler.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- Compiler.java 24 May 2004 21:33:48 -0000 1.87
+++ Compiler.java 15 Jun 2004 21:30:35 -0000 1.88
@@ -543,7 +543,7 @@
outDated = true;
} else {
targetLastModified = targetFile.lastModified();
- if (checkClass) {
+ if (checkClass && jsw != null) {
jsw.setServletClassLastModifiedTime(targetLastModified);
}
if (targetLastModified < jspRealLastModified) {
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org