On Mon, 13 Jul 2026 20:57:12 GMT, Andy Goryachev <[email protected]> wrote:

>> I know it could change in theory, I didn't think it *would* change. The 
>> default locale is read from the system usually and is set once during the OS 
>> setup. When users choose a locale in an application (or a website) it 
>> usually doesn't change the system default, it's rather saved as a preference.
>
> the application requirements might call for forcing a specific locale, even 
> dynamically.

Changing the `Locale` with `Locale.setDefault(..)` is actually quite common if 
you want to support changing the `Locale` at runtime. 
This is needed because everything usually uses `Locale.getDefault()` (even 
JavaFX for translations), so as far as I know, there is really no way around.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1880#discussion_r3574162152

Reply via email to