Index: trunk/test/unit/org/openstreetmap/josm/tools/ExceptionUtilTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/ExceptionUtilTest.java	(revision 9596)
+++ trunk/test/unit/org/openstreetmap/josm/tools/ExceptionUtilTest.java	(revision 9599)
@@ -95,4 +95,7 @@
     @Test
     public void testExplainChangesetClosedException() {
+        // This test relies on the fact that CLDR is not the default local provider (see I18n.init)
+        assertEquals("JRE,CLDR", System.getProperty("java.locale.providers"));
+
         assertEquals("<html>Failed to upload to changeset <strong>0</strong><br>because it has already been closed on ?.",
                 ExceptionUtil.explainChangesetClosedException(new ChangesetClosedException("")));
@@ -116,4 +119,7 @@
     @Test
     public void testExplainConflict() {
+        // This test relies on the fact that CLDR is not the default local provider (see I18n.init)
+        assertEquals("JRE,CLDR", System.getProperty("java.locale.providers"));
+
         int code = HttpURLConnection.HTTP_CONFLICT;
         assertEquals("<html>The server reported that it has detected a conflict.</html>",
