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:
parent
3f3e5a9ade
commit
1611915067
7 changed files with 60 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue