aboutsummaryrefslogtreecommitdiff
path: root/stage2/Stage2.scala
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2016-04-29 00:58:35 -0400
committerJan Christopher Vogt <oss.nsp@cvogt.org>2016-04-29 00:58:35 -0400
commit3f2b9430c2de4641fdb1126d3d4e1556de1504b6 (patch)
treecd6e063d0e18a025eabcc10a456ddd5f7eb7fc7e /stage2/Stage2.scala
parent5488ec69c4c4bdc0e4321a051bababcac960e92f (diff)
parent1dbefdce4fd65a05b331389b263845df67a2d952 (diff)
downloadcbt-3f2b9430c2de4641fdb1126d3d4e1556de1504b6.tar.gz
cbt-3f2b9430c2de4641fdb1126d3d4e1556de1504b6.tar.bz2
cbt-3f2b9430c2de4641fdb1126d3d4e1556de1504b6.zip
Merge pull request #114 from cvogt/fix-composition
Fix reproducible builds and composition
Diffstat (limited to 'stage2/Stage2.scala')
-rw-r--r--stage2/Stage2.scala4
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 )