remm        2005/03/04 10:03:34

  Modified:    jasper2/src/share/org/apache/jasper/runtime Tag: TOMCAT_5_0
                        BodyContentImpl.java
  Log:
  - 33810: I do not see the close field being reset to false anywhere, which is 
a problem. Of course, calling close on a BodyContent is totally useless, which 
is probably why we never heard of the problem before.
  - Port patch to 5.0.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.12.2.1  +1 -0      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java
  
  Index: BodyContentImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.12.2.1
  diff -u -r1.12 -r1.12.2.1
  --- BodyContentImpl.java      6 Apr 2004 23:05:39 -0000       1.12
  +++ BodyContentImpl.java      4 Mar 2005 18:03:34 -0000       1.12.2.1
  @@ -552,6 +552,7 @@
        */
       void setWriter(Writer writer) {
        this.writer = writer;
  +        closed = false;
        if (writer != null) {
            // According to the spec, the JspWriter returned by 
            // JspContext.pushBody(java.io.Writer writer) must behave as
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to