Revision: 1226
          http://stripes.svn.sourceforge.net/stripes/?rev=1226&view=rev
Author:   bengunter
Date:     2010-05-11 15:01:54 +0000 (Tue, 11 May 2010)

Log Message:
-----------
Revert a change made in r998 as a "fix" for STS-618. The reference to the body 
content should be nulled after each request in the hope that its (possibly 
large) buffer will be released for garbage collection. The JSP 2.0 
specification is quite clear that setBodyContent is to be called after each 
call to doStartTag() that returns EVAL_BODY_BUFFERED. If Resin is not doing 
that then that is a Resin problem.

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
===================================================================
--- 
trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java    
    2009-12-23 11:47:24 UTC (rev 1225)
+++ 
trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java    
    2010-05-11 15:01:54 UTC (rev 1226)
@@ -108,6 +108,7 @@
         }
 
         // Clean up in case the tag gets pooled
+        this.bodyContent = null;
         this.definitionTag = null;
         this.renderTag = null;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------

_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to