RFR: 8356420: Provide examples on wrapping System.in [v2]
Naoto Sato
naoto at openjdk.org
Fri May 9 20:39:27 UTC 2025
On Fri, 9 May 2025 20:15:48 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Reflects a review comment
>
> src/java.base/share/classes/java/lang/System.java line 136:
>
>> 134: * new InputStreamReader(System.in, System.getProperty("stdin.encoding"));
>> 135: * }
>> 136: * Or with a {@link java.util.Scanner Scanner}:
>
> "Or with" -> "Using a" or "Or using a" for consistency? Up to you.
Thanks. That flows better. Corrected.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25155#discussion_r2082453780
More information about the core-libs-dev
mailing list