markt 2004/03/19 09:34:32 Modified: jasper2/src/share/org/apache/jasper/runtime Tag: tomcat_4_branch JspWriterImpl.java Log: Revert previous patch as this breaks more than it fixes. Need to find an alternative fix for bug 13499. Revision Changes Path No revision No revision 1.3.2.3 +3 -1 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java Index: JspWriterImpl.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java,v retrieving revision 1.3.2.2 retrieving revision 1.3.2.3 diff -u -r1.3.2.2 -r1.3.2.3 --- JspWriterImpl.java 18 Mar 2004 21:03:12 -0000 1.3.2.2 +++ JspWriterImpl.java 19 Mar 2004 17:34:32 -0000 1.3.2.3 @@ -180,6 +180,8 @@ * Discard the output buffer. */ public final void clear() throws IOException { + if (bufferSize == 0) + throw new IllegalStateException(Constants.getString("jsp.error.ise_on_clear")); if (flushed) throw new IOException(Constants.getString("jsp.error.attempt_to_clear_flushed_buffer")); ensureOpen();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]