RFR: 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer [v9]
Markus KARG
duke at openjdk.org
Thu May 1 07:23:03 UTC 2025
On Wed, 30 Apr 2025 21:57:07 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Unfortunately the same happens. 🙁
>
> The following javadoc for String's getChars method has, I believe, the desired effect:
>
>
> /**
> * {@inheritDoc CharSequence}
> * @param srcBegin {@inheritDoc CharSequence}
> * @param srcEnd {@inheritDoc CharSequence}
> * @param dst {@inheritDoc CharSequence}
> * @param dstBegin {@inheritDoc CharSequence}
> * @throws IndexOutOfBoundsException {@inheritDoc CharSequence}
> */
>
>
> HTH
Thank you, Joe. That actually produces the expected result. IMHO it is just a workaround for a bug in the javadoc processor, hence I would keep it *just here*, but in all locations (in particular in the CSR) I would propose to keep the shorter form.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21730#discussion_r2069929069
More information about the core-libs-dev
mailing list