Commit ba0df74
COMPAT locale provider will be removed in a future release (opensearch-project#13988)
* 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>
* 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>
---------
Signed-off-by: Muneer Kolarkunnu <muneer.kolarkunnu@netapp.com>
Signed-off-by: akolarkunnu <abdul.kolarkunnu@netapp.com>
Signed-off-by: Abdul Muneer Kolarkunnu muneer.kolarkunnu@netapp.com
Co-authored-by: akolarkunnu <abdul.kolarkunnu@netapp.com>1 parent ac78f0a commit ba0df74
6 files changed
Lines changed: 13 additions & 19 deletions
File tree
- buildSrc/src/main/java/org/opensearch/gradle
- distribution/tools/launchers/src/main/java/org/opensearch/tools/launchers
- gradle
- server/src
- internalClusterTest/java/org/opensearch/search/query
- test/java/org/opensearch/index/mapper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 108 | | |
114 | | - | |
| 109 | + | |
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1914 | 1914 | | |
1915 | 1915 | | |
1916 | 1916 | | |
1917 | | - | |
1918 | | - | |
1919 | | - | |
1920 | | - | |
1921 | 1917 | | |
1922 | 1918 | | |
1923 | | - | |
1924 | | - | |
1925 | 1919 | | |
1926 | 1920 | | |
1927 | 1921 | | |
| |||
1938 | 1932 | | |
1939 | 1933 | | |
1940 | 1934 | | |
1941 | | - | |
1942 | | - | |
| 1935 | + | |
| 1936 | + | |
1943 | 1937 | | |
1944 | 1938 | | |
1945 | 1939 | | |
1946 | | - | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
1947 | 1943 | | |
1948 | 1944 | | |
1949 | 1945 | | |
1950 | 1946 | | |
1951 | | - | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
1952 | 1950 | | |
1953 | 1951 | | |
1954 | 1952 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
0 commit comments