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

Naoto Sato naoto at openjdk.org
Mon Apr 29 23:22:21 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 incrementally with one additional commit since the last revision:

  Addressed review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18923/files
  - new: https://git.openjdk.org/jdk/pull/18923/files/f3f879ea..7884cfe3

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

  Stats: 59 lines in 2 files changed: 43 ins; 0 del; 16 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