On Sun, 4 May 2025 14:49:35 GMT, Chen Liang <li...@openjdk.org> wrote:

> ...you can start drafting a CSR like that for `getChars` for `CharSequence`.

Done. Kindly asking your review for the CSR: 
https://bugs.openjdk.org/browse/JDK-8356123.

> One concern is that (See `HashMap.newHashMap` vs `HashMap.of`) 
> `XxxWriter.of(StringBuilder)` now returns a basic `Writer` instead of 
> `XxxWriter`, but since we already have that for `Reader.of` and the argument 
> type is specific, I think this is not an issue.

The CSR indicates that `Writer.of()` is the *symmetric* API to `Reader.of()`, 
so I think it is understood why we have chosen that name.

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

PR Comment: https://git.openjdk.org/jdk/pull/24469#issuecomment-2849314924

Reply via email to