aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java2
1 files changed, 1 insertions, 1 deletions
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++) {