corda/classpath
Joel Dice 3d18f88ad9 fix Runtime.exec bugs
The first bug affected POSIX systems: if the app never called
Process.waitFor, we'd never call waitpid on the child and thus leak a
zombie process.  This patch ensures that we always call waitpid by
spawning a thread to handle it.

The second bug affected Windows systems: we weren't closing the
child's ends of the stdin, stdout, and stderr pipes after process
creation, which lead to us blocking forever while reading from the
child's stdout or stderr.
2010-11-09 10:22:23 -07:00
..
avian javadoc grammar correction in Continuations.java 2010-09-12 14:29:27 -06:00
java fix Runtime.exec bugs 2010-11-09 10:22:23 -07:00
java-io.cpp use _waccess on windows to implement File.can{Read|Write} 2010-09-12 14:46:14 -06:00
java-lang.cpp fix Runtime.exec bugs 2010-11-09 10:22:23 -07:00
java-net.cpp fix non-windows java-net.cpp build 2010-07-02 09:36:55 -06:00
java-nio.cpp switch from gethostbyname to getaddrinfo on POSIX systems 2010-06-14 16:09:56 -06:00
java-util-zip.cpp throw OutOfMemoryError if malloc returns null pointer 2009-12-05 15:51:12 -07:00
java-util.cpp update copyright years 2009-12-02 19:08:29 -07:00
jni-util.h update copyright years 2009-12-02 19:08:29 -07:00