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.

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

Commit messages:
 - Revert more superfluous changes
 - Fix code typo
 - Discard changes unrelated with core libraries
 - Revert superfluous changes
 - Revert changes to 3rd parties in `com/sun/org/apache`
 - Revert `PandocFilter` changes
 - Use `stdin.encoding` in `InputStreamReader` and `Scanner` instantiations

Changes: https://git.openjdk.org/jdk/pull/25544/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25544&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357995
  Stats: 65 lines in 15 files changed: 16 ins; 7 del; 42 mod
  Patch: https://git.openjdk.org/jdk/pull/25544.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25544/head:pull/25544

PR: https://git.openjdk.org/jdk/pull/25544

Reply via email to