DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23805>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23805

Possible error in response wrapper implementation





------- Additional Comments From [EMAIL PROTECTED]  2003-10-15 14:48 -------
As long as 'len==0' this would be ok. And the exception seems to indicate
exactly that. String.java#getChars, line 484, barfs about the end index (8192)
being larger than the string size.

I would propose the following change to rijmenez's class:

write(byte[] b, int off, int len) {
- writer.write(new String(b), off, len);
+ writer.write(new String(b, off, len));
}

If that doesn't solve the issue, I'm wrong.

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

Reply via email to