This commit is contained in:
Alexandre Archambault 2016-09-21 11:01:44 +02:00
parent 2807f64cb5
commit 7c921257ae
No known key found for this signature in database
GPG Key ID: 14640A6839C263A9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {