Skip to content

Commit

Permalink
Merge pull request #514 from eed3si9n/wip/fix-nosuch
Browse files Browse the repository at this point in the history
Fixes the reflection fallback for ScalaInstance
  • Loading branch information
eed3si9n authored Mar 24, 2018
2 parents 0c5422a + a34f7bb commit 617e4b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ object ScalaInstance {
case p: ScalaProvider2 @unchecked => Option((provider.loader, p.loaderLibraryOnly))
}
} catch {
case _: NoSuchMethodError => None
case _: NoSuchMethodException => None
}) getOrElse fallbackClassLoaders
}
new ScalaInstance(version, loader, loaderLibraryOnly, libraryJar, compilerJar, jars, None)
Expand Down

0 comments on commit 617e4b3

Please sign in to comment.