[RFT/RFC] Fix PosixProcess / PR libgcj 11801...

David Daney ddaney@avtrex.com
Wed Jul 28 20:59:00 GMT 2004


David Daney wrote:
> In this thread:
> 
> http://gcc.gnu.org/ml/java/2004-07/msg00109.html
> 
> Thread we discussed ways to fix PosixProcess.
> 
> Attached is my first pass at fixing the problems.  I get no testsuite
> failures on i686-pc-linux-gnu (Fedora Core 1 w/ NPTL).  And several
> small test programs seem to work.  I am also starting to test it on
> mipsel-linux-gnu (w/ glibc-2.2.5).  These are the only two posix
> platforms I have access to.
> 
> It seems possible that this patch could break other posix platforms, so
> testing is needed before commiting it.
> 
> Thoughts or Comments?
> 
> David Daney.
> 
> 
> ------------------------------------------------------------------------
> 
> 2004-07-27  David Daney  <ddaney@avtrex.com>
> 
> 	PR libgcj/11801
> 	* java/lang/PosixProcess.java: Rewrote.
> 	* java/lang/natPosixProcess.cc: Rewrote.
> 	* java/lang/Runtime.java (execInternal): Changed from native to java.
> 	* java/lang/natPosixProcess.cc (execInternal): Removed.
> 	* prims.cc (_Jv_RunMain): Mask SIGCHLD.
> 	* configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
> 	* Makefile.am: ... to specify extra native headers.
> 	* configure: Regenerated.
> 	* Makefile.in: Regenerated.
> 	* gcj/Makefile.in: Regenerated.
> 	* include/Makefile.in: Regenerated.
> 	* testsuite/Makefile.in: Regenerated.
> 

I will of course have to re-format all the code to comply with the
coding standards.  Sorry I forgot about that until now.

David Daney.



More information about the Java-patches mailing list