diff options
author | Tom Tromey <tromey@redhat.com> | 2007-03-05 15:57:13 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-03-05 15:57:13 +0000 |
commit | f4a2a1deec8e1c2c8f9ed80d166a37341fbafd19 (patch) | |
tree | ade62852d2118479bf46fcdfc3db7466a4d05e58 /libjava/java/lang/Win32Process.java | |
parent | 344189f9ec005682d1e5d6a700b91184e58538b8 (diff) | |
download | gcc-f4a2a1deec8e1c2c8f9ed80d166a37341fbafd19.zip gcc-f4a2a1deec8e1c2c8f9ed80d166a37341fbafd19.tar.gz gcc-f4a2a1deec8e1c2c8f9ed80d166a37341fbafd19.tar.bz2 |
sources.am, [...]: Rebuilt.
* sources.am, Makefile.in: Rebuilt.
* scripts/makemake.tcl (emit_package_rule): Don't omit
VMProcess.java.
* Makefile.am (nat_source_files): Added natVMProcess.cc.
(inner_nat_headers): Added ImmediateEOFInputStream.h.
* gcj/javaprims.h: Regenerated.
* java/lang/System.java (EnvironmentMap): Now package-private.
(EnvironmentMap(Map)): New constructor.
(EnvironmentMap.put): New method.
* java/lang/natWin32Process.cc (startProcess): Update.
* java/lang/Win32Process.java (Win32Process): Added 'redirect'
argument.
(startProcess): Likewise.
* java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
argument.
* java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
* java/lang/PosixProcess.java (redirect): New field.
(PosixProcess): Added 'redirect' argument.
* java/lang/natRuntime.cc (execInternal): Added 'redirect'
argument to Process creation.
* java/lang/natVMProcess.cc: New file.
* java/lang/ProcessBuilder.java: Removed.
* java/lang/VMProcess.java: New file.
From-SVN: r122553
Diffstat (limited to 'libjava/java/lang/Win32Process.java')
-rw-r--r-- | libjava/java/lang/Win32Process.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/lang/Win32Process.java b/libjava/java/lang/Win32Process.java index 7d9e40f..e817a0c 100644 --- a/libjava/java/lang/Win32Process.java +++ b/libjava/java/lang/Win32Process.java @@ -1,6 +1,6 @@ // Win32Process.java - Subclass of Process for Win32 systems. -/* Copyright (C) 2002, 2003, 2006 Free Software Foundation +/* Copyright (C) 2002, 2003, 2006, 2007 Free Software Foundation This file is part of libgcj. @@ -51,9 +51,8 @@ final class Win32Process extends Process public native int waitFor () throws InterruptedException; - public Win32Process (String[] progarray, - String[] envp, - File dir) + public Win32Process (String[] progarray, String[] envp, File dir, + boolean redirect) throws IOException { for (int i = 0; i < progarray.length; i++) @@ -64,7 +63,7 @@ final class Win32Process extends Process progarray[i] = "\"" + s + "\""; } - startProcess (progarray, envp, dir); + startProcess (progarray, envp, dir, redirect); } // The standard streams (stdin, stdout and stderr, respectively) @@ -81,8 +80,9 @@ final class Win32Process extends Process private native boolean hasExited (); private native void startProcess (String[] progarray, - String[] envp, - File dir) + String[] envp, + File dir, + boolean redirect) throws IOException; private native void cleanup (); } |