RFR(2): 7174936: several String methods claim to always create new String

Alan Bateman Alan.Bateman at oracle.com
Thu Nov 21 09:41:42 UTC 2013

On 21/11/2013 04:04, Stuart Marks wrote:
> OK, I'll remove the String.subSequence change from this changeset and 
> push it when I get approval.
> I've filed this bug:
> https://bugs.openjdk.java.net/browse/JDK-8028757
> to cover the CharSequence.subSequence issue and potential spec change. 
> It probably isn't that much work to do, but it probably is easier to 
> handle it separately.
Thanks, I think this is the best approach given that the subSequence 
issue may require clearly documenting the deviation from how it is 
specified in CharSequence.


More information about the core-libs-dev mailing list