diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/CompileClient.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileClient.scala b/src/compiler/scala/tools/nsc/CompileClient.scala index 55a561b8cf..440e2749ad 100644 --- a/src/compiler/scala/tools/nsc/CompileClient.scala +++ b/src/compiler/scala/tools/nsc/CompileClient.scala @@ -94,7 +94,7 @@ class StandardCompileClient { val socket = if (serverAdr == "") compileSocket.getOrCreateSocket(vmArgs, !shutdown) else compileSocket.getSocket(serverAdr) var sawerror = false - if (socket == 0) { + if (socket eq null) { if (shutdown) { Console.println("[No compilation server running.]") } else { |