Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: Substring changes (JDK 1.7) Date: Thu, 10 Jan 2013 08:15:53 -0800 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 10 Jan 2013 16:15:56 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="6765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uIlFkO7PgpYYqqTEjX1TpcKzBShNWMQ8=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: Cancel-Lock: sha1:mQTvoaR0Xn5qwKAMDyh4HBY+chs= Xref: csiph.com comp.lang.java.programmer:21302 On 1/10/2013 5:38 AM, Jan Burse wrote: > Dear All, > > > Recent versions of the JDK do not reuse the backing char[]. > > The reason is that the offset and length fields have been > > removed from String to save memory. > > Did this affect some of your code? > > Bye Wrong on both counts. Where did you read this nonsense?