re PR libgcj/11801 (Problems with Process.waitFor() and exitValue())
2004-08-12 David Daney <ddaney@avtrex.com> PR libgcj/11801 * java/lang/PosixProcess.java: Rewrote. * java/lang/natPosixProcess.cc: Rewrote. * java/lang/Runtime.java (execInternal): Declare throws IOException. * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare. * posix-threads.cc (block_sigchld) New function. (_Jv_ThreadRegister) Use it. (_Jv_ThreadStart) Use it. * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in... * Makefile.am: ... to specify extra native headers. * configure: Regenerated. * include/config.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. From-SVN: r85880
This commit is contained in:
parent
db151e9d83
commit
c58f29001d
13 changed files with 1218 additions and 628 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Runtime.java -- access to the VM process
|
||||
Copyright (C) 1998, 2002, 2003 Free Software Foundation
|
||||
Copyright (C) 1998, 2002, 2003, 2004 Free Software Foundation
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -734,8 +734,11 @@ public class Runtime
|
|||
* @param dir the directory to use, may be null
|
||||
* @return the newly created process
|
||||
* @throws NullPointerException if cmd or env have null elements
|
||||
* @throws IOException if the exec fails
|
||||
*/
|
||||
native Process execInternal(String[] cmd, String[] env, File dir);
|
||||
native Process execInternal(String[] cmd, String[] env, File dir)
|
||||
throws IOException;
|
||||
|
||||
|
||||
/**
|
||||
* Get the system properties. This is done here, instead of in System,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue