From 575abd034fd3bfbeff60f1ddbd9deb88c6b741e6 Mon Sep 17 00:00:00 2001 From: RationalityFrontline Date: Sun, 4 Apr 2021 17:25:06 +0800 Subject: [PATCH] Fix the path separator used in the SingletonExtensionFactoryTest.java (#435) --- pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java b/pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java index 1044034..739a76f 100644 --- a/pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java +++ b/pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java @@ -74,7 +74,7 @@ public class SingletonExtensionFactoryTest { private URL[] getClasspathReferences() throws MalformedURLException { String classpathProperty = System.getProperty("java.class.path"); - String[] classpaths = classpathProperty.split(":"); + String[] classpaths = classpathProperty.split(File.pathSeparator); URL[] uris = new URL[classpaths.length]; for (int index = 0; index < classpaths.length; index++) {