summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-04-19 01:45:12 +0000
committerLex Spoon <lex@lexspoon.org>2007-04-19 01:45:12 +0000
commitea0c3a7ce9666904ab208ab0d87724b8d5749fe3 (patch)
treebd1adb24658dda9bb83c9da79349421743a686da /src
parentb92ecfcbd079dfa59e9d5541c6aebfa90cc3f9ec (diff)
downloadscala-ea0c3a7ce9666904ab208ab0d87724b8d5749fe3.tar.gz
scala-ea0c3a7ce9666904ab208ab0d87724b8d5749fe3.tar.bz2
scala-ea0c3a7ce9666904ab208ab0d87724b8d5749fe3.zip
for the parent class loader, choose the class
loader that loaded the compiler
Diffstat (limited to 'src')
-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