Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -261,6 +261,10 @@ public class PipedReader extends Reader
|
||||
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