diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-04-06 22:25:30 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-04-06 22:51:51 -0400 |
commit | f4068604a65f61a739c9f5b6be16c76bc93ecc65 (patch) | |
tree | 94facc1c3a749f28b05afa7151075a43ad0b40c6 /stage2/Stage2.scala | |
parent | 4b9541d435365db023c5a629d88ab733f3fffa77 (diff) | |
download | cbt-f4068604a65f61a739c9f5b6be16c76bc93ecc65.tar.gz cbt-f4068604a65f61a739c9f5b6be16c76bc93ecc65.tar.bz2 cbt-f4068604a65f61a739c9f5b6be16c76bc93ecc65.zip |
Pass ClassLoaderCache from stage1 to stage2 instead of wrongly creating another one. This should improve behavior of transient cache.
Diffstat (limited to 'stage2/Stage2.scala')
-rw-r--r-- | stage2/Stage2.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala index 0856f54..ddadfb6 100644 --- a/stage2/Stage2.scala +++ b/stage2/Stage2.scala @@ -23,7 +23,7 @@ object Stage2 extends Stage2Base{ } val task = args.args.lift( taskIndex ) - val context = Context( args.cwd, args.cwd, args.args.drop( taskIndex ), logger, args.cbtHasChanged, new ClassLoaderCache(logger) ) + val context = Context( args.cwd, args.cwd, args.args.drop( taskIndex ), logger, args.cbtHasChanged, args.classLoaderCache ) val first = lib.loadRoot( context ) val build = first.finalBuild |