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

Markus KARG duke at openjdk.org
Wed Mar 26 11:40:16 UTC 2025


On Tue, 25 Mar 2025 13:06:07 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Markus KARG has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Removed apiNote and implNote from CharBuffer, as suggested by Chen
>
> src/java.base/share/classes/java/nio/X-Buffer.java.template line 1900:
> 
>> 1898: 
>> 1899:     /**
>> 1900:      * {@inheritDoc}
> 
> The method description here will need to start with  "Absolute bulk get method". This is important because CB defines both "absolute bulk get" and "relative bulk get methods", it has to be very clear in the API docs.
> 
> If the proposal goes again then I think the method description won't be inherited into CB, instead it will say that it transfers chars from this buffer into the given destination array.

IIUC then you want me to replace `{@inheritedDoc}` by `This absolute bulk get method transfers chars from this buffer into the given destination array.`?

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

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


More information about the nio-dev mailing list