aboutsummaryrefslogtreecommitdiff
path: root/stage1/Stage1Lib.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-03-15 23:57:23 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-03-20 20:35:27 -0400
commit450fc5d3defcdc279cfeef0ae622ebe4f90988e2 (patch)
treedd2666f6c553e86804df83563e9568af7902a4fd /stage1/Stage1Lib.scala
parenteaa4889b40bfe1fcab5f88d87b5208632d736444 (diff)
downloadcbt-450fc5d3defcdc279cfeef0ae622ebe4f90988e2.tar.gz
cbt-450fc5d3defcdc279cfeef0ae622ebe4f90988e2.tar.bz2
cbt-450fc5d3defcdc279cfeef0ae622ebe4f90988e2.zip
better toString for Java URLClassLoader. Minor enhancements
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 b3b0b23..0259cb0 100644
--- a/stage1/Stage1Lib.scala
+++ b/stage1/Stage1Lib.scala
@@ -110,7 +110,7 @@ class Stage1Lib( val logger: Logger ) extends BaseLib{
trapExitCode{
classLoader
.loadClass(cls)
- .getMethod( "main", scala.reflect.classTag[Array[String]].runtimeClass )
+ .getMethod( "main", classOf[Array[String]] )
.invoke( null, args.toArray.asInstanceOf[AnyRef] )
ExitCode.Success
}