On Sun, 6 Oct 2024 14:54:22 GMT, Markus KARG <[email protected]> wrote:
>> src/java.base/share/classes/java/io/Reader.java line 163:
>>
>>> 161: * {@code transferTo()} methods all throw {@code IOException}.
>>> 162: *
>>> 163: * <p> The {@code markSupported()} method returns {@code true}.
>>
>> Suggestion:
>>
>> * <p>The returned reader supports the {@link #mark mark()} operation.
>
> This is not wrong. This exact wording is already used in `Reader.java`, so it
> would be strange to change it *just here*.
You can “elaborately” the close and mark protocol in the Reader interface and
then only mention itnadgeres to it here.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21371#discussion_r1789187627