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

Markus KARG duke at openjdk.org
Tue Oct 8 11:29:06 UTC 2024


On Sun, 6 Oct 2024 18:10:49 GMT, Bernd <duke at openjdk.org> wrote:

>> Good idea. But instead, we could also add a new API `CharSequence.of(char[])` and test *that* class? WDYT?
>
>> Good idea. But instead, we could also add a new API `CharSequence.of(char[])` and test _that_ class? WDYT?
> 
> Both you need to test the generic case anyway.

Added ad-hoc class now in the test.

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

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


More information about the core-libs-dev mailing list