nacho 2002/06/14 18:52:48 Modified: jk/java/org/apache/ajp RequestHandler.java Log: Fix for Bug#9498 - org.apache.ajp.RequestHandler#doRead(Ajp13) does not always properly return an integer of 0x00 - 0xFF Reported by Stoehr Sukachevin Revision Changes Path 1.15 +1 -1 jakarta-tomcat-connectors/jk/java/org/apache/ajp/RequestHandler.java Index: RequestHandler.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/ajp/RequestHandler.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- RequestHandler.java 5 Jun 2002 08:33:13 -0000 1.14 +++ RequestHandler.java 15 Jun 2002 01:52:47 -0000 1.15 @@ -629,7 +629,7 @@ return -1; } } - return (char) ch.bodyBuff[ch.pos++]; + return ch.bodyBuff[ch.pos++] & 0xFF; } /**
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>