diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-25 08:57:20 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-25 08:57:20 +0000 |
commit | ef715d5f109c63a3c7b3dcdba20f4f13ef19d496 (patch) | |
tree | 55366a8fd9d27d1f30b6e3770cd1985da49c789e /src | |
parent | 6209dbe66ef4511464ff1c47715c72b8fe147baf (diff) | |
download | scala-ef715d5f109c63a3c7b3dcdba20f4f13ef19d496.tar.gz scala-ef715d5f109c63a3c7b3dcdba20f4f13ef19d496.tar.bz2 scala-ef715d5f109c63a3c7b3dcdba20f4f13ef19d496.zip |
Fix for #947.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/Interpreter.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/Interpreter.scala b/src/compiler/scala/tools/nsc/Interpreter.scala index c5fbd57354..de752737d8 100644 --- a/src/compiler/scala/tools/nsc/Interpreter.scala +++ b/src/compiler/scala/tools/nsc/Interpreter.scala @@ -172,9 +172,7 @@ class Interpreter(val settings: Settings, out: PrintWriter) { Thread.currentThread.setContextClassLoader(classLoader) } - /** XXX Let's get rid of this. I believe the Eclipse plugin is - * the only user of it, so this should be doable. */ - protected def parentClassLoader: ClassLoader = null + protected def parentClassLoader: ClassLoader = this.getClass.getClassLoader() /** the previous requests this interpreter has processed */ private val prevRequests = new ArrayBuffer[Request]() |