Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8188819

Host locale adapter should honor currency overrides

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 10
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      This was discovered in the bug JDK-8187772, where java runtime crashes if the user specifies their currency in the system preferences on macOS.

      One way to resolve this is to honor that preference with the default locale set to xx-YY-u-cu-ZZZ, where ZZZ is the currency the user specifies. This should only happen if the HOST adapter is used, in order for the compatibility.

      The currency override itself should be implemented with the JEP 8177568.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naoto Naoto Sato
                Reporter:
                naoto Naoto Sato
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: