JDK-8189134 : New system properties for the default Locale extensions
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-10-10
  • 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 :  
Description
In order to specify the default Unicode Locale extensions (JEP JDK-8177568), there should be following (internal) system properties for the java launcher command line option "-D"

- user.extensions
- user.extensions.display
- user.extensions.format

The value for these properties should take the form of BCP47's "extension" (https://tools.ietf.org/html/bcp47):

---
extension     = singleton 1*("-" (2*8alphanum))

                                     ; Single alphanumerics
                                     ; "x" reserved for private use
 singleton     = DIGIT               ; 0 - 9
               / %x41-57             ; A - W
               / %x59-5A             ; Y - Z
               / %x61-77             ; a - w
               / %x79-7A             ; y - z
---

e.g. "u-ca-japanese" or "u-cu-jpy-nu-thai"