On Mon, 12 May 2025 01:17:15 GMT, Jaikiran Pai <[email protected]> wrote:
>> src/java.base/share/classes/java/lang/CharSequence.java line 313:
>>
>>> 311: * at index {@code dstBegin} and ending at index:
>>> 312: * <pre>{@code
>>> 313: * dstbegin + (srcEnd-srcBegin) - 1
>>
>> Shouldn't it be dstBegin?
>>
>> * dstBegin + (srcEnd-srcBegin) - 1
>
> Hello Andrey, what you note is right. This and the other change you have
> proposed to this text seems reasonable. Do you want to create a JBS issue and
> raise a PR proposing this change?
We could also simply include it in the PR for
https://bugs.openjdk.org/browse/JDK-8356679 to reduce organizational overhead.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21730#discussion_r2084384684