Fix in launcher class loader isolation

Fixes https://github.com/alexarchambault/coursier/issues/141
This commit is contained in:
Alexandre Archambault 2016-02-16 19:05:06 +01:00
parent e35ab4edb4
commit d7e5c23036
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 {