HostLocaleProviderAdapter_md.c from libjava can use GetLocaleInfoEx, GetCalendarInfoEx, EnumCalendarInfoExEx directly

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 25, 26
    • Component/s: core-libs
    • b24
    • generic
    • windows

      GetLocaleInfoEx, GetCalendarInfoEx, EnumCalendarInfoExEx can be called directly now.
      Many years ago we checked those functions to support Windows versions older than Vista without those functions, but this is most likely not needed any more these days.

      See
      https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getlocaleinfoex
      https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getcalendarinfoex
      https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-enumcalendarinfoexex

            Assignee:
            Justin Lu
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: