Index: trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerJOSMTooOldTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerJOSMTooOldTest.java	(revision 16666)
+++ trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerJOSMTooOldTest.java	(revision 16667)
@@ -28,4 +28,5 @@
 import org.openstreetmap.josm.testutils.mockers.ExtendedDialogMocker;
 import org.openstreetmap.josm.testutils.mockers.HelpAwareOptionPaneMocker;
+import org.openstreetmap.josm.tools.Utils;
 
 import com.github.tomakehurst.wiremock.client.WireMock;
@@ -99,8 +100,12 @@
     private File targetQuxJarNew;
 
-    private final String bazPluginVersionReqString = "JOSM version 8\u202F001 required for plugin baz_plugin.";
-    private final String dummyPluginVersionReqString = "JOSM version 7\u202F001 required for plugin dummy_plugin.";
+    private final String bazPluginVersionReqString = u202f("JOSM version 8\u202F001 required for plugin baz_plugin.");
+    private final String dummyPluginVersionReqString = u202f("JOSM version 7\u202F001 required for plugin dummy_plugin.");
     private final String dummyPluginFailedString = "<html>Updating the following plugin has failed:<ul><li>dummy_plugin</li></ul>"
         + "Please open the Preference Dialog after JOSM has started and try to update it manually.</html>";
+
+    private static String u202f(String s) {
+        return Utils.getJavaVersion() < 9 ? s.replace('\u202F', ',') : s;
+    }
 
     /**
@@ -311,5 +316,5 @@
         Config.getPref().putList("plugins", Arrays.asList("qux_plugin", "baz_plugin"));
 
-        new ExtendedDialogMocker(Collections.singletonMap("JOSM version 7\u202F500 required for plugin qux_plugin.", "Download Plugin"));
+        new ExtendedDialogMocker(Collections.singletonMap(u202f("JOSM version 7\u202F500 required for plugin qux_plugin."), "Download Plugin"));
 
         Files.copy(this.referenceQuxJarOld.toPath(), this.targetQuxJar.toPath());
Index: trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java	(revision 16666)
+++ trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java	(revision 16667)
@@ -29,4 +29,8 @@
     @Test
     public void testGroupingSeparator() {
+        if (Utils.getJavaVersion() < 9) {
+            // not supported
+            return;
+        }
         assertTrue(I18n.getAvailableTranslations().count() > 10);
         I18n.getAvailableTranslations().forEach(this::checkGroupingSymbol);
