Author: violetagg
Date: Thu Jan 22 11:47:50 2015
New Revision: 1653815
URL: http://svn.apache.org/r1653815
Log:
When closing the stream for the host's web.xml if an exception occur then
hostTimeStamp must be set to -1 and not the globalTimeStamp. Issue reported by
Coverity Scan.
Modified:
tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java?rev=1653815&r1=1653814&r2=1653815&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java Thu Jan 22
11:47:50 2015
@@ -1493,7 +1493,7 @@ public class ContextConfig implements Li
uc.getInputStream().close();
} catch (IOException e) {
ExceptionUtils.handleThrowable(e);
- globalTimeStamp = -1;
+ hostTimeStamp = -1;
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]