This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: [patch] java.io.File fixes and String.substring() optimization
- To: Bryce McKinlay <bryce@albatross.co.nz>
- Subject: Re: [patch] java.io.File fixes and String.substring() optimization
- From: Tom Tromey <tromey@cygnus.com>
- Date: Tue, 27 Jul 1999 21:05:17 -0700
- Cc: java-patches@sourceware.cygnus.com
- References: <37981705.B9DB0941@albatross.co.nz>
>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
Bryce> The former fix also prompted me to check if String.substring()
Bryce> would do the right thing if it was called with (0, length) - it
Bryce> should probably return itself in this situation (the spec says
Bryce> somewhere that strings with equivalent content can and should
Bryce> be the same object, right?), so I patched that too.
Do you have a reference for this?
Tom