mirror of https://github.com/sbt/sbt.git
Merge pull request #142 from alexarchambault/topic/launcher-isolation-fix
Fix in launcher class loader isolation
This commit is contained in:
commit
59c24ed258
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue