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)