On Mon, 26 Jan 2026 23:53:06 GMT, Naoto Sato <[email protected]> wrote:
>> Tatsunori Uchino has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Improve JavaDoc >> >> Co-authored-by: Chen Liang <[email protected]> > > src/java.base/share/classes/java/lang/Character.java line 10004: > >> 10002: /** >> 10003: * {@return the number of Unicode code points in the {@code char} >> array} >> 10004: * Unpaired surrogates count as one code point each. > > It'd be better to replace "surrogates" with "surrogate code units." Applies > to other method descriptions too. Agree. I have personally disliked the expression "surrogate" for such code units. We will need another tickets for JavaDoc for the other methods that are not concerned with this ticket. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26461#discussion_r2729723123
