<i18n dev> Integrated: 8370420: HostLocaleProviderAdapter_md.c from libjava can use GetLocaleInfoEx, GetCalendarInfoEx, EnumCalendarInfoExEx directly
Justin Lu
jlu at openjdk.org
Thu Nov 6 17:15:45 UTC 2025
On Mon, 3 Nov 2025 23:48:22 GMT, Justin Lu <jlu at openjdk.org> wrote:
> This PR cleans up some native code for Windows i18n functions. These particular calls are designed to run on Windows Vista and later. Since Vista (and older) are not supported Windows platforms, the calls no longer need to be checked if they are supported and can be called directly.
>
> Reference to docs: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getlocaleinfoex.
>
>> Minimum supported client: Windows Vista
>> Minimum supported server: Windows Server 2008
This pull request has now been integrated.
Changeset: 0026967e
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0026967e030fd4557b5365870d55f863fe2a4512
Stats: 90 lines in 2 files changed: 6 ins; 63 del; 21 mod
8370420: HostLocaleProviderAdapter_md.c from libjava can use GetLocaleInfoEx, GetCalendarInfoEx, EnumCalendarInfoExEx directly
Reviewed-by: naoto, mbaesken, bpb
-------------
PR: https://git.openjdk.org/jdk/pull/28119
More information about the i18n-dev
mailing list