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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user