Author: markt
Date: Thu May 29 14:51:37 2008
New Revision: 661496

URL: http://svn.apache.org/viewvc?rev=661496&view=rev
Log:
Fix minor bug re localised error message in HttpServlet

Modified:
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml
    tomcat/current/tc5.5.x/STATUS.txt
    
tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/jsr154/src/share/javax/servlet/http/HttpServlet.java

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=661496&r1=661495&r2=661496&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Thu May 29 14:51:37 2008
@@ -40,6 +40,14 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Specification">
+    <changelog>
+      <fix>
+        Use a localised error message if a user tries to write a negative 
length
+        byte array during default processing of a HEAD request.   
+      </fix>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 5.5.26 (fhanik)">
   <subsection name="General">

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=661496&r1=661495&r2=661496&view=diff
==============================================================================
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Thu May 29 14:51:37 2008
@@ -42,11 +42,6 @@
   +1: markt, fhanik
   -1:
 
-* Fix minor HttpServlet bug. Use localised error message.
-  http://svn.apache.org/viewvc?rev=635298&view=rev
-  +1: markt, rjung, fhanik
-  -1:
-
 * Add system properties docs
   http://people.apache.org/~markt/patches/2008-03-10-sys-props.patch
   +1: markt, fhanik

Modified: 
tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/jsr154/src/share/javax/servlet/http/HttpServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/jsr154/src/share/javax/servlet/http/HttpServlet.java?rev=661496&r1=661495&r2=661496&view=diff
==============================================================================
--- 
tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/jsr154/src/share/javax/servlet/http/HttpServlet.java
 (original)
+++ 
tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/jsr154/src/share/javax/servlet/http/HttpServlet.java
 Thu May 29 14:51:37 2008
@@ -1013,7 +1013,7 @@
            // isn't this really an IllegalArgumentException?
            
            String msg = lStrings.getString("err.io.negativelength");
-           throw new IOException("negative length");
+           throw new IOException(msg);
        }
     }
 }



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

Reply via email to