But this just shows that the static overload is wrong: There is nothing in the 
Java spec that shows how a string is built internally.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Dawid Weiss
> Sent: Monday, February 24, 2014 10:11 PM
> To: [email protected]
> Subject: Re: [JENKINS] Lucene-4x-Linux-Java6-64-test-only - Build # 13556 -
> Failure!
> 
> > Especially if it is a substring of another string: in that case the array 
> > is larger
> than string.length().
> 
> This was actually changed recently (and in j8) so no backing char[] array
> sharing is present anymore -- substring is copy-based.
> 
> Dawid
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] For additional
> commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to