Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
This commit is contained in:
@@ -116,7 +116,14 @@ public class PushbackInputStream extends FilterInputStream
|
||||
*/
|
||||
public int available() throws IOException
|
||||
{
|
||||
return (buf.length - pos) + super.available();
|
||||
try
|
||||
{
|
||||
return (buf.length - pos) + super.available();
|
||||
}
|
||||
catch (NullPointerException npe)
|
||||
{
|
||||
throw new IOException ("Stream closed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user