Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
parent
c648dedbde
commit
97b8365caf
17478 changed files with 606493 additions and 100744 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue