diff --git a/property-loader/src/test/java/com/github/weisj/darklaf/icons/IconUtilTest.java b/property-loader/src/test/java/com/github/weisj/darklaf/icons/IconUtilTest.java index 78792443..315d48f2 100644 --- a/property-loader/src/test/java/com/github/weisj/darklaf/icons/IconUtilTest.java +++ b/property-loader/src/test/java/com/github/weisj/darklaf/icons/IconUtilTest.java @@ -36,6 +36,7 @@ public class IconUtilTest { @Test public void testWeakFrameCache() { + if (GraphicsEnvironment.isHeadless()) return; Object obj = new Object(); WeakReference ref = new WeakReference<>(obj); int count = 100;