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 a4b60c4 + 50e3687 commit 561c06aCopy full SHA for 561c06a
compiler/src/dotty/tools/io/JarArchive.scala
@@ -27,7 +27,7 @@ object JarArchive {
27
// creating a new zip file system by using the JAR URL syntax:
28
// https://docs.oracle.com/javase/7/docs/technotes/guides/io/fsp/zipfilesystemprovider.html
29
val env = Map("create" -> create.toString).asJava
30
- val uri = java.net.URI.create("jar:file:" + path.toAbsolute.path)
+ val uri = java.net.URI.create("jar:" + path.toAbsolute.toURI.toString)
31
val fs = {
32
try FileSystems.newFileSystem(uri, env)
33
catch {
0 commit comments