> Proposing to deprecate the constructors in the `java.util.Locale` class. 
> There is already a factory method and a builder to return singletons, so 
> there is no need to have constructors anymore unless one purposefully wants 
> to create `ill-formed` Locale objects, which is discouraged. We cannot 
> terminally deprecate those constructors for the compatibility to serialized 
> objects created with older JDKs. Please see the draft CSR for more detail.

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

  Added a new factory method, removed pure refactoring from Locale API changes.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7947/files
  - new: https://git.openjdk.java.net/jdk/pull/7947/files/9ff69cbe..e874ff7e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7947&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7947&range=00-01

  Stats: 887 lines in 193 files changed: 37 ins; 67 del; 783 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7947.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7947/head:pull/7947

PR: https://git.openjdk.java.net/jdk/pull/7947

Reply via email to