Merge pull request #142 from alexarchambault/topic/launcher-isolation-fix

Fix in launcher class loader isolation
This commit is contained in:
Alexandre Archambault 2016-02-17 13:41:18 +01:00
commit 59c24ed258
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ case class Launch(
val contextLoader = Thread.currentThread().getContextClassLoader
val parentLoader0: ClassLoader =
if (Try(contextLoader.loadClass("coursier.Launch")).isSuccess)
if (Try(contextLoader.loadClass("coursier.cli.Launch")).isSuccess)
Launch.mainClassLoader(contextLoader)
.flatMap(cl => Option(cl.getParent))
.getOrElse {