DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36155>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36155 ------- Additional Comments From [EMAIL PROTECTED] 2007-03-03 00:40 ------- I discovered, that calling byteC.recycle() also resets the Encoding that might have been set. But actually the setEncoding() method is used nowhere. And calling byteC.reset() doesn't work, because the reset()-method leaves the ByteChunk in an illegal state: the array-pointer is set to null, but the internal "isSet" which controlls the result of isNull() is not reset to false. I'm quite unhappy with the class MessageBytes. For example setInt/setLong also forget to clear the char-buffer. toBytes() ignores the charset. In many cases i discovered strange handeling of non-ASCII characters. So i don't aim to clean it up. There are too many side-effects that might be hurt by any modification. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]