Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -279,6 +279,10 @@ public class PipedInputStream extends InputStream
|
||||
if (closed)
|
||||
throw new IOException ("Pipe closed");
|
||||
|
||||
// Don't block if nothing was requested.
|
||||
if (len == 0)
|
||||
return 0;
|
||||
|
||||
// If the buffer is empty, wait until there is something in the pipe
|
||||
// to read.
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user