RFR: 8357996: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [tools]

Volkan Yazıcı volkan at yazi.ci
Wed Jun 11 12:39:09 UTC 2025


Hello,

#25541 <https://github.com/openjdk/jdk/pull/25541> implements relatively
simple changes in following files to use `stdin.encoding` for reading
`System.in` with `InputStreamReader`/`Scanner`:

src/jdk.internal.ed/share/classes/jdk/internal/editor/external/ExternalEditor.java
test/langtools/jdk/jshell/CompletenessTest.java
test/langtools/jdk/jshell/UserInputTest.java

I'd appreciate it if somebody could review these changes.

Kind regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/kulla-dev/attachments/20250611/4908812a/attachment.htm>


More information about the kulla-dev mailing list