diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-04-19 01:45:12 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-04-19 01:45:12 +0000 |
commit | ea0c3a7ce9666904ab208ab0d87724b8d5749fe3 (patch) | |
tree | bd1adb24658dda9bb83c9da79349421743a686da /src | |
parent | b92ecfcbd079dfa59e9d5541c6aebfa90cc3f9ec (diff) | |
download | scala-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.scala | 2 |
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 |