<i18n dev> RFR: 8370420: HostLocaleProviderAdapter_md.c from libjava can use GetLocaleInfoEx, GetCalendarInfoEx, EnumCalendarInfoExEx directly [v2]

Matthias Baesken mbaesken at openjdk.org
Wed Nov 5 08:08:03 UTC 2025


On Tue, 4 Nov 2025 19:06:31 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
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove dynamic loading and call directly

Marked as reviewed by mbaesken (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28119#pullrequestreview-3420458873


More information about the i18n-dev mailing list