From 3a998e632c7a4eb308c664005c56add11a8d901b Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 10 Oct 2019 12:17:34 -0700 Subject: [PATCH] disambiguate overload (overload is new in JDK 13) this turned up in the context of scala/community-build#873 --- .../jvm/src/main/scala/org/scalajs/linker/PathIRContainer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linker/jvm/src/main/scala/org/scalajs/linker/PathIRContainer.scala b/linker/jvm/src/main/scala/org/scalajs/linker/PathIRContainer.scala index 5caeb625cc..c57210338a 100644 --- a/linker/jvm/src/main/scala/org/scalajs/linker/PathIRContainer.scala +++ b/linker/jvm/src/main/scala/org/scalajs/linker/PathIRContainer.scala @@ -58,7 +58,7 @@ object PathIRContainer { blocking { // Open zip/jar file as filesystem. - val fs = FileSystems.newFileSystem(path, null) + val fs = FileSystems.newFileSystem(path, null: ClassLoader) try { val i = fs.getRootDirectories().iterator() while (i.hasNext()) {