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
This commit is contained in:
parent
5b0d91c392
commit
7eecbdb322
5 changed files with 33 additions and 83 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue