[EMAIL PROTECTED] wrote:
markt 2004/12/24 08:50:00
Modified: catalina/src/share/org/apache/catalina/core StandardContext.java Log: Fix bug 32559. add call to context.clearAttributes()
I think 32559 was actually invalid. I disagree with this fix (which I "fixed" once already), as I think no bug existed in the first place: although it is ok to clear the attribute list to be nice for GC (the containing context is discarded, so it shouldn't be very useful), no notification of attribute removals should be sent.
Similarly, attributes addition notifications are not done on startup, as the spec seems to imply they are only to be sent for notifying modifications while the application is running.
Another issue caused by this change: http://issues.apache.org/bugzilla/show_bug.cgi?id=33463
Rémy
I have just re-read the spec and some of the statements in 32559 are certainly wrong. However, I agree with 32559 in that reload and stop/start should have the same effect. I'll put together a simple test case to investigate this. I'll then port this fix back to TC4 plus and further changes the test case throws up.
Mark
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]