PosixProcess.java (exitValue): Implement here.
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>
Mon, 24 Sep 2001 04:51:50 +0000 (04:51 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 24 Sep 2001 04:51:50 +0000 (05:51 +0100)
commit4f7279ab3ef8e5ac64f2c8d45889196cf29d0d2a
tree33c2555a1c6fe8aeecedad3f79917cb12aaf94e5
parent749ced524c4a4bcb7e8374854cc380e33e69a1d8
PosixProcess.java (exitValue): Implement here.

* java/lang/PosixProcess.java (exitValue): Implement here. Throw
IllegalThreadStateException if process hasn't exited yet.
* java/lang/natPosixProcess.cc (exitValue): Removed.
(waitFor): Only check thread interrupted status if waitpid()
returned an error. Use WIFEXITED and WEXITSTATUS to process process's
exit value.

From-SVN: r45766
libjava/ChangeLog
libjava/java/lang/PosixProcess.java
libjava/java/lang/natPosixProcess.cc