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 a4b60c4 commit 50e3687Copy full SHA for 50e3687
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