[ML] Don't use default locale.
Original commit: elastic/x-pack-elasticsearch@f1e5016008c38d1817855de686644abd2d48a112
@@ -21,8 +21,7 @@ public final class DomainSplitFunction {
static {
Map<String, Object> paramsMap = new HashMap<>();
-
- ResourceBundle resource = ResourceBundle.getBundle("org/elasticsearch/xpack/ml/transforms/exact", Locale.getDefault());
+ ResourceBundle resource = ResourceBundle.getBundle("org/elasticsearch/xpack/ml/transforms/exact", Locale.ROOT);
Enumeration<String> keys = resource.getKeys();
Map<String, String> exact = new HashMap<>(2048);
while (keys.hasMoreElements()) {
