diff options
author | Bryce McKinlay <bryce@albatross.co.nz> | 2001-02-13 07:42:48 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-02-13 07:42:48 +0000 |
commit | 7eecbdb3226682bbf5e5094c1d69a73f86bc2986 (patch) | |
tree | c7f05554b9cf233b87ecc9705a030ae771935b9e /libjava/java/io/ObjectInputStream.java | |
parent | 5b0d91c39237f6a45dcb229620bbf5c144b29c62 (diff) | |
download | gcc-7eecbdb3226682bbf5e5094c1d69a73f86bc2986.tar.gz |
BlockDataException.java: Removed.
* java/io/BlockDataException.java: Removed.
* java/io/ObjectInputStream.java (readObject): Throw
StreamCorruptedException, not BlockDataException.
* Makefile.am: Remove BlockDataException.
* Makefile.in: Rebuild.
From-SVN: r39616
Diffstat (limited to 'libjava/java/io/ObjectInputStream.java')
-rw-r--r-- | libjava/java/io/ObjectInputStream.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/io/ObjectInputStream.java b/libjava/java/io/ObjectInputStream.java index 9c10d58388d..028ed39d41e 100644 --- a/libjava/java/io/ObjectInputStream.java +++ b/libjava/java/io/ObjectInputStream.java @@ -135,7 +135,7 @@ public class ObjectInputStream extends InputStream else dumpElementln ("BLOCKDATA"); readNextBlock (marker); - throw new BlockDataException (this.blockDataBytes); + throw new StreamCorruptedException ("Unexpected blockData"); case TC_NULL: dumpElementln ("NULL"); |