From 44ba99aacf2c25dd59eec14506f462546ff0d9e4 Mon Sep 17 00:00:00 2001 From: Eugene Vigdorchik Date: Wed, 29 Sep 2010 10:44:51 +0000 Subject: need an access to compileRunner from Eclipse to... need an access to compileRunner from Eclipse to check the thread I'm called and not post a work request if I'm already in compiler thread. Review by odersky --- src/compiler/scala/tools/nsc/interactive/Global.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/scala/tools/nsc/interactive/Global.scala b/src/compiler/scala/tools/nsc/interactive/Global.scala index 5449cb83a5..7ece74acb6 100644 --- a/src/compiler/scala/tools/nsc/interactive/Global.scala +++ b/src/compiler/scala/tools/nsc/interactive/Global.scala @@ -208,7 +208,7 @@ self => // ----------------- The Background Runner Thread ----------------------- /** The current presentation compiler runner */ - private var compileRunner = newRunnerThread + protected var compileRunner = newRunnerThread private var threadId = 1 -- cgit v1.2.3