Win32Process.java: Added nested class EOFInputStream.

* java/lang/Win32Process.java: Added nested class EOFInputStream.
	* java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
	enum and implementation.
	(startProcess): Use redirect flag.
	* classpath/lib/java/lang/Win32Process.class: Regenerated.
	* classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
	* gcj/javaprims.h: Regenerated.
	* java/lang/Win32Process$EOFInputStream.h: New.

From-SVN: r122668
This commit is contained in:
Mohan Embar 2007-03-07 18:05:39 +00:00 committed by Mohan Embar
parent 3f3e5a9ade
commit 1611915067
7 changed files with 60 additions and 6 deletions

View file

@ -85,4 +85,13 @@ final class Win32Process extends Process
boolean redirect)
throws IOException;
private native void cleanup ();
private static class EOFInputStream extends InputStream
{
static EOFInputStream instance = new EOFInputStream();
public int read()
{
return -1;
}
}
}