mirror of https://github.com/sbt/sbt.git
Fix
This commit is contained in:
parent
2807f64cb5
commit
7c921257ae
|
|
@ -585,7 +585,7 @@ class Helper(
|
||||||
def contextLoader = Thread.currentThread().getContextClassLoader
|
def contextLoader = Thread.currentThread().getContextClassLoader
|
||||||
|
|
||||||
// TODO Would ClassLoader.getSystemClassLoader be better here?
|
// TODO Would ClassLoader.getSystemClassLoader be better here?
|
||||||
val baseLoader: ClassLoader =
|
lazy val baseLoader: ClassLoader =
|
||||||
Launch.mainClassLoader(contextLoader)
|
Launch.mainClassLoader(contextLoader)
|
||||||
.flatMap(cl => Option(cl.getParent))
|
.flatMap(cl => Option(cl.getParent))
|
||||||
.getOrElse {
|
.getOrElse {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue