diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-14 18:17:55 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-19 21:13:48 -0400 |
commit | 10fe5a8ca1518381ebfa655be4358276c990508e (patch) | |
tree | c633e98ebc42c9d7873cbf52a84befaf76fd73d7 /stage2/BuildBuild.scala | |
parent | c095f435b68272d4ae0409ab4c9466145609710e (diff) | |
download | cbt-10fe5a8ca1518381ebfa655be4358276c990508e.tar.gz cbt-10fe5a8ca1518381ebfa655be4358276c990508e.tar.bz2 cbt-10fe5a8ca1518381ebfa655be4358276c990508e.zip |
minor enhancements to classloading
Diffstat (limited to 'stage2/BuildBuild.scala')
-rw-r--r-- | stage2/BuildBuild.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BuildBuild.scala b/stage2/BuildBuild.scala index 5e0f5d3..639154c 100644 --- a/stage2/BuildBuild.scala +++ b/stage2/BuildBuild.scala @@ -8,7 +8,7 @@ class BuildBuild(context: Context) extends Build(context){ val managedBuild = { val managedContext = context.copy( cwd = managedBuildDirectory ) val cl = new cbt.URLClassLoader( - classpath, + exportedClasspath, classOf[BuildBuild].getClassLoader // FIXME: this looks wrong. Should be ClassLoader.getSystemClassLoader but that crashes ) lib.create( lib.buildClassName )( managedContext )( cl ).asInstanceOf[Build] |