classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] StringBuilder and Appendable for CVS HEAD


From: Tom Tromey
Subject: Re: [cp-patches] StringBuilder and Appendable for CVS HEAD
Date: 15 Dec 2004 11:06:38 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Jeroen" == Jeroen Frijters <address@hidden> writes:

Jeroen> The "shared" rubbish needs to be ripped out of StringBuilder and the
Jeroen> String(StringBuilder) constructor needs to make a copy of the array.

I'm not so sure that the current code is unsafe.
I don't think there is a path where a String's contents can change
unexpectedly.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]