summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/InterpreterLoop.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterLoop.scala b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
index a8c26c4a79..ed1bc2d270 100644
--- a/src/compiler/scala/tools/nsc/InterpreterLoop.scala
+++ b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
@@ -256,7 +256,7 @@ class InterpreterLoop(in0: BufferedReader, out: PrintWriter) {
new java.net.URLClassLoader(
settings.classpath.value.split(File.pathSeparator).
map(s => new File(s).toURL),
- ClassLoader.getSystemClassLoader)
+ classOf[InterpreterLoop].getClassLoader)
createInterpreter