ObjectInputStream.java (read): AND byte with 0xff to make result unsigned.
authorBryce McKinlay <bryce@albatross.co.nz>
Sat, 27 Jan 2001 06:04:29 +0000 (06:04 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Sat, 27 Jan 2001 06:04:29 +0000 (06:04 +0000)
commit60b7365f52d635016272d4622b0c8a3df30205c8
treec15526d29fdc612fde34a407401f6e18edca8b69
parent31e1e0a6528b84e40f8eb97552e4bbe1070e5513
ObjectInputStream.java (read): AND byte with 0xff to make result unsigned.

* java/io/ObjectInputStream.java (read): AND byte with 0xff to make
result unsigned.
(read (byte[], int, int)): Only call readNextBlock() if the block
buffer would actually be overrun. Increment blockDataPosition.
(callReadMethod): Propagate exceptions from invocation target.
* java/io/ObjectOutputStream.java (callWriteMethod): Propagate
exceptions from invocation target.

From-SVN: r39293
libjava/ChangeLog
libjava/java/io/ObjectInputStream.java
libjava/java/io/ObjectOutputStream.java