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

Naoto Sato naoto at openjdk.org
Mon May 6 20:01:14 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:

 - 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:
  - all: https://git.openjdk.org/jdk/pull/18923/files
  - new: https://git.openjdk.org/jdk/pull/18923/files/7884cfe3..29ff6063

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18923&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18923&range=01-02

  Stats: 33162 lines in 1907 files changed: 14282 ins; 12249 del; 6631 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