RFR: 8330276: Console methods with explicit Locale [v5]

Naoto Sato naoto at openjdk.org
Tue May 14 16:29:29 UTC 2024


> Proposing new overloaded methods in `java.io.Console` class that explicitly take a `Locale` argument. Existing methods rely on the default locale, so the users won't be able to format their prompts/outputs in a certain locale explicitly.

Naoto Sato has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:

 - Merge branch 'master' into JDK-8330276-Console-with-explicit-Locale
 - Removed JdkConsole.printf()
 - Addresses a CSR review comment
 - Merge branch 'master' into JDK-8330276-Console-with-explicit-Locale
 - Addressed review comments
 - Not using System.err
 - spacing
 - initial commit

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

Changes: https://git.openjdk.org/jdk/pull/18923/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18923&range=04
  Stats: 438 lines in 7 files changed: 335 ins; 24 del; 79 mod
  Patch: https://git.openjdk.org/jdk/pull/18923.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18923/head:pull/18923

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


More information about the core-libs-dev mailing list