On macOs, the system properties for user.language and user.country are set from the macOs APIs. The Linux environment settings for LANG, LC_* and LC_ALL are ignored.
The system properties can be set directly but following the Linux conventions for the environment would make it more consistent across OS's.
It should be possible to restore the previous behavior using the macOs language APIs.
The system properties can be set directly but following the Linux conventions for the environment would make it more consistent across OS's.
It should be possible to restore the previous behavior using the macOs language APIs.
- csr for
-
JDK-8284302 On macOS, the locale should be settable using environment LANG, LC_*
-
- Closed
-
- relates to
-
JDK-8283606 Tests may fail with zh locale on MacOS
-
- Resolved
-