aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/eval/Eval.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/eval/Eval.scala b/libraries/eval/Eval.scala
index 354791f..cc9a3ff 100644
--- a/libraries/eval/Eval.scala
+++ b/libraries/eval/Eval.scala
@@ -182,11 +182,12 @@ object Eval {
* Class loader for finding classes compiled by this StringCompiler.
* After each reset, this class loader will not be able to find old compiled classes.
*/
- val classLoader = new AbstractFileClassLoader(virtualDirectory, this.getClass.getClassLoader)
+ var classLoader = new AbstractFileClassLoader(virtualDirectory, this.getClass.getClassLoader)
def reset() {
virtualDirectory.clear
reporter.reset
+ classLoader = new AbstractFileClassLoader(virtualDirectory, this.getClass.getClassLoader)
}
/**