diff options
author | Robby <robby@santoslab.org> | 2018-03-19 10:13:03 -0500 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-03-19 08:13:03 -0700 |
commit | e7ac7323693edbdc350ec36b578ba3e101657360 (patch) | |
tree | 34851720f0698eea29b659693ee836b9ddcb9dad /main/test | |
parent | 27112151475e17845fa2675e2710cba77e9a0ede (diff) | |
download | mill-e7ac7323693edbdc350ec36b578ba3e101657360.tar.gz mill-e7ac7323693edbdc350ec36b578ba3e101657360.tar.bz2 mill-e7ac7323693edbdc350ec36b578ba3e101657360.zip |
Java 9 optimization by caching rt.jar (#239)
* Upgraded Ammonite to 1.0.5-7-f032887 that includes a Java 9 performance optimization for mill's client-server mode (lihaoyi/Ammonite#773).
* Java 9 optimization for interactive mode by caching rt.jar.
* Refactored based on @lihaoyi's comments on #239.
* Removed client side rt.jar caching.
* Propagatio of home path from Cli.
* Propagation, propagation, propagation!
Diffstat (limited to 'main/test')
-rw-r--r-- | main/test/src/mill/util/TestEvaluator.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/test/src/mill/util/TestEvaluator.scala b/main/test/src/mill/util/TestEvaluator.scala index 078254f1..ffff4b99 100644 --- a/main/test/src/mill/util/TestEvaluator.scala +++ b/main/test/src/mill/util/TestEvaluator.scala @@ -30,7 +30,7 @@ class TestEvaluator[T <: TestUtil.BaseModule](module: T) // true, // ammonite.util.Colors.Default, System.out, System.out, System.err, System.in // ) - val evaluator = new Evaluator(outPath, TestEvaluator.externalOutPath, module, logger) + val evaluator = new Evaluator(Ctx.defaultHome, outPath, TestEvaluator.externalOutPath, module, logger) def apply[T](t: Task[T]): Either[Result.Failing[T], (T, Int)] = { val evaluated = evaluator.evaluate(Agg(t)) |