Skip to content

Commit 15f9965

Browse files
committed
add comment to modification in io/ClassPath.scala
1 parent 5e90176 commit 15f9965

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/io/ClassPath.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ object ClassPath {
132132
dir.list.filter(x => filt(x.name) && (x.isDirectory || isJarOrZip(x))).map(_.path).toList
133133

134134
if (pattern == "*") lsDir(Directory("."))
135+
// On Windows the JDK supports forward slash or backslash in classpath entries
135136
else if (pattern.endsWith(wildSuffix) || pattern.endsWith("/*")) lsDir(Directory(pattern dropRight 2))
136137
else if (pattern.contains('*')) {
137138
try {

0 commit comments

Comments
 (0)