Changeset 9599 in josm
- Timestamp:
- 2016-01-23T23:26:39+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/I18n.java
r9062 r9599 409 409 // http://docs.oracle.com/javase/8/docs/technotes/guides/intl/enhancements.8.html#cldr 410 410 // FIXME: This can be removed after we switch to a minimal version of Java that enables CLDR by default 411 // or includes all languages we need in the JRE. See http://openjdk.java.net/jeps/ 8043554for Java 9411 // or includes all languages we need in the JRE. See http://openjdk.java.net/jeps/252 for Java 9 412 412 Utils.updateSystemProperty("java.locale.providers", "JRE,CLDR"); 413 413 -
trunk/test/unit/org/openstreetmap/josm/tools/ExceptionUtilTest.java
r9488 r9599 95 95 @Test 96 96 public void testExplainChangesetClosedException() { 97 // This test relies on the fact that CLDR is not the default local provider (see I18n.init) 98 assertEquals("JRE,CLDR", System.getProperty("java.locale.providers")); 99 97 100 assertEquals("<html>Failed to upload to changeset <strong>0</strong><br>because it has already been closed on ?.", 98 101 ExceptionUtil.explainChangesetClosedException(new ChangesetClosedException(""))); … … 116 119 @Test 117 120 public void testExplainConflict() { 121 // This test relies on the fact that CLDR is not the default local provider (see I18n.init) 122 assertEquals("JRE,CLDR", System.getProperty("java.locale.providers")); 123 118 124 int code = HttpURLConnection.HTTP_CONFLICT; 119 125 assertEquals("<html>The server reported that it has detected a conflict.</html>",
Note:
See TracChangeset
for help on using the changeset viewer.