>>>>> "Anthony" == Anthony Green <[EMAIL PROTECTED]> writes:
Anthony> No, I don't think so. That's what I meant in my comment by
Anthony> "No part of StringBuffer depends on padding out the rest of
Anthony> the StringBuffer with '\0'". I looked through the code and
Anthony> couldn't find where this would matter.
Suppose you do:
sb = new StringBuffer ("abcdefgh");
sb.setLength(1);
sb.setLength(3);
sb.toString();
I think the result should be "a\0\0", not "abc". This is why the loop
matters.
Tom
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath