From d57f5ac180e09e11eb555e5e54b2982c1c9967db Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 29 May 2014 12:32:10 -0400 Subject: [PATCH] put backticks around `yield` in Thread.yield --- launch/src/main/scala/xsbt/boot/ServerApplication.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch/src/main/scala/xsbt/boot/ServerApplication.scala b/launch/src/main/scala/xsbt/boot/ServerApplication.scala index 9133fd29b..343b37185 100644 --- a/launch/src/main/scala/xsbt/boot/ServerApplication.scala +++ b/launch/src/main/scala/xsbt/boot/ServerApplication.scala @@ -115,7 +115,7 @@ class StreamDumper(in: java.io.BufferedReader, out: java.io.PrintStream) extends endTime.set(System.currentTimeMillis + 2000) // at this point we'd rather the dumper thread run // before we check whether to sleep - Thread.yield() + Thread.`yield`() // let ourselves read more (thread should exit on earlier of endTime or EOF) while (isAlive() && (endTime.get > System.currentTimeMillis)) Thread.sleep(50)