From ce642b2dd2209b7454bd9f785160761807c25f7c Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 2 Sep 2010 08:01:20 +0000 Subject: [PATCH] Add a comment as a reminder git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@991842 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/core/StandardContext.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/org/apache/catalina/core/StandardContext.java b/java/org/apache/catalina/core/StandardContext.java index 2010027ab..4475aa69e 100644 --- a/java/org/apache/catalina/core/StandardContext.java +++ b/java/org/apache/catalina/core/StandardContext.java @@ -5048,6 +5048,10 @@ public class StandardContext extends ContainerBase private void resetContext() throws Exception { // Restore the original state ( pre reading web.xml in start ) // If you extend this - override this method and make sure to clean up + + // Don't reset anything that is read from a element since + // elements are read at initialisation will not be read + // again for this object children = new HashMap(); startupTime = 0; startTime = 0; -- 2.11.0