mirror of https://github.com/sbt/sbt.git
Fix in launcher class loader isolation
Fixes https://github.com/alexarchambault/coursier/issues/141
This commit is contained in:
parent
e35ab4edb4
commit
d7e5c23036
|
|
@ -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