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 b7cafd8 + 4d354a7 commit 7703493Copy full SHA for 7703493
compiler/src/dotty/tools/io/ZipArchive.scala
@@ -149,7 +149,7 @@ final class FileZipArchive(file: JFile) extends ZipArchive(file) {
149
override def sizeOption: Option[Int] = Some(zipEntry.getSize.toInt)
150
}
151
152
- val (root, allDirs) = {
+ @volatile lazy val (root, allDirs) = {
153
val root = new DirEntry("/")
154
val dirs = mutable.HashMap[String, DirEntry]("/" -> root)
155
val zipFile = openZipFile()
0 commit comments