Skip to content

Commit c04b0ab

Browse files
authored
FELIX-6536: use FileSeparator to work correctely on Windows (#155)
1 parent 92ec5dd commit c04b0ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/src/main/java/org/apache/felix/framework/cache/DirectoryContent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public DirectoryContent(Logger logger, Map configMap,
6767
throw new UncheckedIOException(e);
6868
}
6969
if (!canonicalPath.endsWith(File.separator)) {
70-
canonicalPath = canonicalPath + "/";
70+
canonicalPath = canonicalPath + File.separator;
7171
}
7272
m_canonicalRoot = canonicalPath;
7373
}

0 commit comments

Comments
 (0)