Index: trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java	(revision 17523)
+++ trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java	(revision 17527)
@@ -2,4 +2,5 @@
 package org.openstreetmap.josm.tools;
 
+import static org.junit.Assume.assumeNotNull;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -12,9 +13,10 @@
 import java.io.File;
 import java.io.IOException;
+import java.nio.file.FileSystems;
 import java.security.KeyStoreException;
 import java.util.Collection;
 
+import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.extension.RegisterExtension;
 import org.openstreetmap.josm.TestUtils;
@@ -23,5 +25,4 @@
 
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
-
 import mockit.Expectations;
 import mockit.Mocked;
@@ -171,4 +172,5 @@
     @Test
     void testGetInstalledFonts() {
+        assumeNotNull(FileSystems.getDefault()); // weird NPE on Jenkins
         Collection<String> fonts = hook.getInstalledFonts();
         if (PlatformManager.isPlatformWindows()) {
