RFR: 8350703: Add standard system property stdin.encoding

Alan Bateman alanb at openjdk.org
Wed Apr 23 12:58:43 UTC 2025


On Thu, 17 Apr 2025 18:59:33 GMT, Stuart Marks <smarks at openjdk.org> wrote:

> * Windows and Unix: set sprops.stdin_encoding if connected to a console
> * Add specs for stdin.encoding
> * Adjust specs to change "undefined" to "unspecified"
> * Rewrite System.in spec to refer to new property and to clarify usage with classes that perform encoding
> * Update property test

Overall I think this looks quite good. Follow-up PR can update APIs beyond System to reference it.

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

PR Comment: https://git.openjdk.org/jdk/pull/24738#issuecomment-2824210223


More information about the core-libs-dev mailing list