projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Win32Process.java: Added nested class EOFInputStream.
[gcc.git]
/
libjava
/
java
/
lang
/
Win32Process.java
diff --git
a/libjava/java/lang/Win32Process.java
b/libjava/java/lang/Win32Process.java
index e817a0c90905ec7ef440cfa9210f854610b4e6c4..f22b548820f03286d8ab53b7579fede0b5ba2273 100644
(file)
--- a/
libjava/java/lang/Win32Process.java
+++ b/
libjava/java/lang/Win32Process.java
@@
-85,4
+85,13
@@
final class Win32Process extends Process
boolean redirect)
throws IOException;
private native void cleanup ();
boolean redirect)
throws IOException;
private native void cleanup ();
+
+ private static class EOFInputStream extends InputStream
+ {
+ static EOFInputStream instance = new EOFInputStream();
+ public int read()
+ {
+ return -1;
+ }
+ }
}
}