On Fri, 30 May 2025 11:07:30 GMT, Volkan Yazici <vyaz...@openjdk.org> wrote:
> Passes the `Charset` read from the `stdin.encoding` system property while > creating `InputStreamReader` or `Scanner` instances for `System.in`. > > `stdin.encoding` is a recently added property for Java 25 in > [JDK-8350703](https://bugs.openjdk.org/browse/JDK-8350703). Employing it > throughout the entire code base is addressed by the parent ticket > [JDK-8356893](https://bugs.openjdk.org/browse/JDK-8356893). JDK-8357995 this > PR is addressing is a sub-task of JDK-8356893 and is concerned with only > areas related to core libraries. Have you thought about creating a helper method for this purpose even if it's internal? At least, for the tests you can create one in `/test/lib`. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25544#issuecomment-2922441338