summaryrefslogtreecommitdiff
path: root/libjava/java/io/ObjectInputStream.java
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>2001-02-13 07:42:48 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2001-02-13 07:42:48 +0000
commit7eecbdb3226682bbf5e5094c1d69a73f86bc2986 (patch)
treec7f05554b9cf233b87ecc9705a030ae771935b9e /libjava/java/io/ObjectInputStream.java
parent5b0d91c39237f6a45dcb229620bbf5c144b29c62 (diff)
downloadgcc-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.java2
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");