Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMPAT locale provider will be removed in a future release #13988

Merged
merged 2 commits into from
Jun 5, 2024

Commits on Jun 5, 2024

  1. COMPAT locale provider will be removed in a future release

    Description:
    From JDK21 onwards a new warning has started to come, "WARNING: COMPAT locale provider will be removed in a future release". So, we have to avoid usage of COMPAT provider. We were setting exlpicitly to COMPAT locale provider in couple of places, this change is to convert COMPAT to CLDR locale provider. After this change, couple of tests started to fail becasue some locale data has minor changes in CLDR compared to COMPAT. For example, day and month short names of GERMAN "de" locale are different in CLDR and COMPAT, just need to add a . in the end for CLDR.
    
    Resolves opensearch-project#11550
    Signed-off-by: Muneer Kolarkunnu <muneer.kolarkunnu@netapp.com>
    Signed-off-by: akolarkunnu <abdul.kolarkunnu@netapp.com>
    akolarkunnu committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    06b0fa6 View commit details
    Browse the repository at this point in the history
  2. COMPAT locale provider will be removed in a future release

    Description:
    From JDK21 onwards a new warning has started to come, "WARNING: COMPAT locale provider will be removed in a future release". So, we have to avoid usage of COMPAT provider. We were setting exlpicitly to COMPAT locale provider in couple of places, this change is to convert COMPAT to CLDR locale provider. After this change, couple of tests started to fail becasue some locale data has minor changes in CLDR compared to COMPAT. For example, day and month short names of GERMAN "de" locale are different in CLDR and COMPAT, just need to add a . in the end for CLDR.
    
    Resolves opensearch-project#11550
    Signed-off-by: Abdul Muneer Kolarkunnu muneer.kolarkunnu@netapp.com
    Signed-off-by: akolarkunnu <abdul.kolarkunnu@netapp.com>
    akolarkunnu committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    c111166 View commit details
    Browse the repository at this point in the history