diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/InterpreterLoop.scala | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterLoop.scala b/src/compiler/scala/tools/nsc/InterpreterLoop.scala index b15cc8c54c..3f5e4d5c41 100644 --- a/src/compiler/scala/tools/nsc/InterpreterLoop.scala +++ b/src/compiler/scala/tools/nsc/InterpreterLoop.scala @@ -65,19 +65,13 @@ class InterpreterLoop(in0: Option[BufferedReader], out: PrintWriter) { } } - /* As soon as the Eclipse plugin no longer needs it, delete uglinessxxx, - * parentClassLoader0, and the parentClassLoader method in Interpreter - */ - var uglinessxxx: ClassLoader = _ - def parentClassLoader0: ClassLoader = uglinessxxx - /** Create a new interpreter. Close the old one, if there * is one. */ def createInterpreter() { //closeInterpreter() interpreter = new Interpreter(settings, out) { - override protected def parentClassLoader = parentClassLoader0 + override protected def parentClassLoader = classOf[InterpreterLoop].getClassLoader } interpreter.setContextClassLoader() } @@ -292,8 +286,6 @@ class InterpreterLoop(in0: Option[BufferedReader], out: PrintWriter) { InteractiveReader.createDefault() } - uglinessxxx = classOf[InterpreterLoop].getClassLoader - createInterpreter() loadFiles(settings) |