JDK-8191349 : Add java.time.format.DateTimeFormatter localizedBy(locale) method to reflect Unicode extensions
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.time
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-11-15
  • Updated: 2017-12-15
  • Resolved: 2017-12-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b36Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Description
The spec change approved by the CSR JDK-8186697 had compatibility issues such as withXXX() methods would no longer be independent of the issuing order, e.g., 

 formatter = formatter.withZone(zone).withLocale(locale);
 formatter = formatter.withLocale(locale).withZone(zone);

would generate different formatter instances. To resolve this incompatibility, instead of augmenting the existing methods, introduce a new method that will replace the locale related fields in the formatter.