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.
2 parents bb96612 + d0ca212 commit 7d50bdbCopy full SHA for 7d50bdb
compiler/src/dotty/tools/dotc/classpath/DirectoryClassPath.scala
@@ -179,7 +179,7 @@ final class JrtClassPath(fs: java.nio.file.FileSystem) extends ClassPath with No
179
if (inPackage == "") ClassPathEntries(packages(inPackage), Nil)
180
else ClassPathEntries(packages(inPackage), classes(inPackage))
181
182
- def asURLs: Seq[URL] = Seq(dir.toUri.toURL)
+ def asURLs: Seq[URL] = Seq(new URL("jrt:/"))
183
// We don't yet have a scheme to represent the JDK modules in our `-classpath`.
184
// java models them as entries in the new "module path", we'll probably need to follow this.
185
def asClassPathStrings: Seq[String] = Nil
0 commit comments