<i18n dev> [jdk19] RFR: 8289252: Recommend Locale.of() method instead of the constructor [v2]

Naoto Sato naoto at openjdk.org
Tue Jun 28 20:17:21 UTC 2022

> This is a leftover documentation fix to the deprecation of `Locale` constructors. `Locale.Builder` class had some texts that suggested using one of those constructors, which need to be replaced with a `Locale.of()` method. A corresponding CSR has also been drafted.

Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:

  added `lang` attribute to the snippet


  - all: https://git.openjdk.org/jdk19/pull/85/files
  - new: https://git.openjdk.org/jdk19/pull/85/files/258aff4e..ce39f751

 - full: https://webrevs.openjdk.org/?repo=jdk19&pr=85&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk19&pr=85&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk19/pull/85.diff
  Fetch: git fetch https://git.openjdk.org/jdk19 pull/85/head:pull/85

PR: https://git.openjdk.org/jdk19/pull/85

More information about the i18n-dev mailing list