RFR: 8341566: Adding factory for non-synchronized CharSequence Reader [v2]

Markus KARG duke at openjdk.org
Sun Oct 6 17:37:34 UTC 2024


On Sun, 6 Oct 2024 16:32:51 GMT, Chen Liang <liach at openjdk.org> wrote:

>> This text already exists in this very file, it is a 1:1 copy from `nullReader()`. It cannot be wrong for `of()` if it was correct for `nullReader()`. To stay consistent with existing JavaDocs in this very same file, we should not have different texts for the same cases.
>
> `nullReader` needs this because it specifies the open behavior of these methods. This API does not have to; we can check out how others think in the CSR review.

I have forwarded the current proposal as-is to the CSR.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21371#discussion_r1789174531


More information about the core-libs-dev mailing list