From e3d51a131d2e3ac08fb197a32bcba8e7978a476e Mon Sep 17 00:00:00 2001 From: Dmitry Melnichenko Date: Fri, 27 Nov 2015 22:10:11 +0200 Subject: [SI-9454] Add isAlive method into sys.process.Process trait --- test/junit/scala/sys/process/t7350.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'test/junit') diff --git a/test/junit/scala/sys/process/t7350.scala b/test/junit/scala/sys/process/t7350.scala index 7f3e8897f2..3c0e5145e6 100644 --- a/test/junit/scala/sys/process/t7350.scala +++ b/test/junit/scala/sys/process/t7350.scala @@ -18,6 +18,7 @@ import scala.util.control.Exception.ignoring class PipedProcessTest { class ProcessMock(error: Boolean) extends Process { var destroyCount = 0 + def isAlive() = false def exitValue(): Int = { if (error) { throw new InterruptedException() -- cgit v1.2.3