Index: /trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java	(revision 19052)
+++ /trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java	(revision 19053)
@@ -3,6 +3,6 @@
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
 
 import java.io.IOException;
@@ -23,11 +23,10 @@
     @BeforeAll
     static void beforeAll() throws IOException {
-        if (Utils.getJavaVersion() >= 9) {
-            assertEquals("SPI,JRE,CLDR", System.getProperty("java.locale.providers"),
-                    "This test must be launched with -Djava.locale.providers=SPI,JRE,CLDR");
-            try (InputStream in = I18n.class.getResourceAsStream("/META-INF/services/java.text.spi.DecimalFormatSymbolsProvider")) {
-                assertEquals("org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider",
-                        new String(Utils.readBytesFromStream(in), StandardCharsets.UTF_8).trim());
-            }
+        assertEquals("SPI,CLDR", System.getProperty("java.locale.providers"),
+                "This test must be launched with -Djava.locale.providers=SPI,CLDR");
+        try (InputStream in = I18n.class.getResourceAsStream("/META-INF/services/java.text.spi.DecimalFormatSymbolsProvider")) {
+            assertNotNull(in);
+            assertEquals("org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider",
+                    new String(in.readAllBytes(), StandardCharsets.UTF_8).trim());
         }
     }
@@ -36,5 +35,4 @@
     void testGroupingSeparator() {
         System.out.println(Locale.getDefault());
-        assumeTrue(Utils.getJavaVersion() >= 9);
 
         assertTrue(I18n.getAvailableTranslations().count() > 10);
