RFR: 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer [v9]
Markus KARG
duke at openjdk.org
Wed Apr 30 18:02:52 UTC 2025
On Wed, 30 Apr 2025 15:47:32 GMT, Chen Liang <liach at openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/String.java line 1739:
>>
>>> 1737:
>>> 1738: /**
>>> 1739: * {@inheritDoc CharSequence}
>>
>> @jaikiran @jddarcy Sorry for bothering, but I do need your kind help here to get the code to exactly that shape that you want to have it. While `{@inheritDoc CharSequence}` does work very well for `StringBuilder` and `StringBuffer` (via `AbstractStringBuilder` to shorten code size), it simply doesn't have *any* effect when applied at `String`: `make docs` successfully finishes without warnings or errors, but `String.html` still contains just the link to `CharSequence` but *is missing* the copy of the JavaDoc main text. I simply do not see why. Any ideas? 🤔
>
> Could this be a Javadoc bug? What does a simple `{@inheritDoc}` do?
Unfortunately the same happens. 🙁
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21730#discussion_r2069198621
More information about the core-libs-dev
mailing list