8000
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 bee5534 commit 6ea44b7Copy full SHA for 6ea44b7
src/compiler/scala/tools/nsc/classpath/DirectoryClassPath.scala
@@ -23,6 +23,7 @@ import scala.tools.nsc.CloseableRegistry
23
import scala.tools.nsc.classpath.PackageNameUtils.{packageContains, separatePkgAndClassNames}
24
import scala.tools.nsc.util.{ClassPath, ClassRepresentation, EfficientClassPath}
25
import scala.util.Properties.{isJavaAtLeast, javaHome}
26
+import scala.util.control.NonFatal
27
import FileUtils._
28
29
/**
@@ -168,7 +169,7 @@ object JrtClassPath {
168
169
List(classPath)
170
}
171
} catch {
- case _: Throwable => Nil
172
+ case NonFatal(_) => Nil
173
174
private def createJrt(closeableRegistry: CloseableRegistry): List[JrtClassPath] =
175
try {
0 commit comments