aboutsummaryrefslogtreecommitdiff
path: root/stage1/Stage1Lib.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-03-14 18:17:55 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-03-19 21:13:48 -0400
commit10fe5a8ca1518381ebfa655be4358276c990508e (patch)
treec633e98ebc42c9d7873cbf52a84befaf76fd73d7 /stage1/Stage1Lib.scala
parentc095f435b68272d4ae0409ab4c9466145609710e (diff)
downloadcbt-10fe5a8ca1518381ebfa655be4358276c990508e.tar.gz
cbt-10fe5a8ca1518381ebfa655be4358276c990508e.tar.bz2
cbt-10fe5a8ca1518381ebfa655be4358276c990508e.zip
minor enhancements to classloading
Diffstat (limited to 'stage1/Stage1Lib.scala')
-rw-r--r--stage1/Stage1Lib.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/Stage1Lib.scala b/stage1/Stage1Lib.scala
index 6a8a0ba..9c204ae 100644
--- a/stage1/Stage1Lib.scala
+++ b/stage1/Stage1Lib.scala
@@ -46,7 +46,7 @@ class Stage1Lib( val logger: Logger ) extends BaseLib{
/** Create instance of the given class via reflection */
def create(cls: String)(args: Any*)(classLoader: ClassLoader): Any = {
- logger.composition( logger.showInvocation("Stage1Lib.create", (classLoader,cls,args)) )
+ logger.composition( logger.showInvocation("Stage1Lib.create", (cls,args,classLoader)) )
import scala.reflect.runtime.universe._
val m = runtimeMirror(classLoader)
val sym = m.classSymbol(classLoader.loadClass(cls))