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

Justin Lu jlu at openjdk.org
Wed Nov 5 22:19:36 UTC 2025


> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Merge branch 'master' into JDK-8370420-Windows
 - Merge branch 'master' into JDK-8370420-Windows
 - Remove dynamic loading and call directly
 - Merge branch 'master' into JDK-8370420-Windows
 - init

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28119/files
  - new: https://git.openjdk.org/jdk/pull/28119/files/e18a5744..e6d45424

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28119&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28119&range=01-02

  Stats: 12203 lines in 397 files changed: 7768 ins; 3189 del; 1246 mod
  Patch: https://git.openjdk.org/jdk/pull/28119.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28119/head:pull/28119

PR: https://git.openjdk.org/jdk/pull/28119


More information about the i18n-dev mailing list