We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e90176 commit 15f9965Copy full SHA for 15f9965
compiler/src/dotty/tools/io/ClassPath.scala
@@ -132,6 +132,7 @@ object ClassPath {
132
dir.list.filter(x => filt(x.name) && (x.isDirectory || isJarOrZip(x))).map(_.path).toList
133
134
if (pattern == "*") lsDir(Directory("."))
135
+ // On Windows the JDK supports forward slash or backslash in classpath entries
136
else if (pattern.endsWith(wildSuffix) || pattern.endsWith("/*")) lsDir(Directory(pattern dropRight 2))
137
else if (pattern.contains('*')) {
138
try {
0 commit comments