On Sun, 6 Oct 2024 18:10:49 GMT, Bernd <d...@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