diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-04-29 00:37:31 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-04-29 00:49:30 -0400 |
commit | bdd6d905807a8cee7655d436401e76196ec4fe67 (patch) | |
tree | 09b0da68d249ee44b13f8b691f6f93dfd57ef3e1 /stage2/Stage2.scala | |
parent | 661987259ce2c7a3408403d07ca6afaf06c23aab (diff) | |
download | cbt-bdd6d905807a8cee7655d436401e76196ec4fe67.tar.gz cbt-bdd6d905807a8cee7655d436401e76196ec4fe67.tar.bz2 cbt-bdd6d905807a8cee7655d436401e76196ec4fe67.zip |
Fix use compatibility interfaces from main cbt
Diffstat (limited to 'stage2/Stage2.scala')
-rw-r--r-- | stage2/Stage2.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala index 9639380..83b660e 100644 --- a/stage2/Stage2.scala +++ b/stage2/Stage2.scala @@ -7,8 +7,6 @@ import scala.collection.immutable.Seq object Stage2 extends Stage2Base{ def getBuild(__context: java.lang.Object, _cbtChanged: java.lang.Boolean) = { - val cl1 = __context.getClass.getClassLoader - val cl2 = classOf[Context].getClassLoader val _context = __context.asInstanceOf[Context] val context = _context.copy( cbtHasChanged = _context.cbtHasChanged || _cbtChanged @@ -48,7 +46,7 @@ object Stage2 extends Stage2Base{ args.permanentClassLoaders, args.cache, args.cbtHome, - compatibilityTarget, + args.compatibilityTarget, null ) val first = lib.loadRoot( context ) |