RFR: 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer [v9]

Joe Darcy darcy at openjdk.org
Wed Apr 30 21:59:51 UTC 2025


On Wed, 30 Apr 2025 17:59:55 GMT, Markus KARG <duke at openjdk.org> wrote:

>> Could this be a Javadoc bug? What does a simple `{@inheritDoc}` do?
>
> 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

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21730#discussion_r2069529721


More information about the core-libs-dev mailing list