diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-25 09:19:03 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-25 09:19:03 +0000 |
commit | 762476777aa44524586cae9b7a19bfb7c17c6b10 (patch) | |
tree | 78a9d4b58bf21c4cb6a8d78b391634b7cce932c6 | |
parent | ef715d5f109c63a3c7b3dcdba20f4f13ef19d496 (diff) | |
download | scala-762476777aa44524586cae9b7a19bfb7c17c6b10.tar.gz scala-762476777aa44524586cae9b7a19bfb7c17c6b10.tar.bz2 scala-762476777aa44524586cae9b7a19bfb7c17c6b10.zip |
Fixed ugliness correctly this time.
-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) |