diff options
-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..0ccc4169f4 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 + var parentClassLoader: ClassLoader = this.getClass.getClassLoader() /** the previous requests this interpreter has processed */ private val prevRequests = new ArrayBuffer[Request]() |