if (posToTest > len + 4) {
// Trying to read data beyond the end of the AJP message
throw new ArrayIndexOutOfBoundsException(sm.getString(
- "ajpMessage.invalidPos", Integer.valueOf(pos)));
+ "ajpMessage.invalidPos", Integer.valueOf(posToTest)));
}
}
// ------------------------------------------------------ Protected Methods
ajpmessage.read=Requested {0} bytes exceeds message available data
ajpmessage.invalid=Invalid message received with signature {0}
ajpmessage.invalidLength=Invalid message received with length {0}
-ajpMessage.invalidPos=Requested read of bytes at position [{0}] which is beyond then end of the AJP message
+ajpMessage.invalidPos=Requested read of bytes at position [{0}] which is beyond the end of the AJP message