Index: lucene/src/test/org/apache/lucene/analysis/TestCharArrayMap.java =================================================================== --- lucene/src/test/org/apache/lucene/analysis/TestCharArrayMap.java (revision 945097) +++ lucene/src/test/org/apache/lucene/analysis/TestCharArrayMap.java (working copy) @@ -28,6 +28,9 @@ CharArrayMap map = new CharArrayMap(TEST_VERSION_CURRENT, 1, ignoreCase); HashMap hmap = new HashMap(); + // use the root locale for consistent behavior + final Locale rootLocale = new Locale(""); + char[] key; for (int i=0; i