mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-16 09:30:38 +08:00
DataOutputStream (write (byte[], int, int)): Update "written" correctly.
* java/io/DataOutputStream (write (byte[], int, int)): Update "written" correctly. Fix from the ORP team. From-SVN: r48050
This commit is contained in:
parent
f79a65c087
commit
1e2bba3565
@ -1,3 +1,8 @@
|
||||
2001-12-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
|
||||
|
||||
* java/io/DataOutputStream (write (byte[], int, int)): Update
|
||||
"written" correctly. Fix from the ORP team.
|
||||
|
||||
2001-12-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
|
||||
|
||||
* include/jvm.h (_Jv_VTable::idx_to_offset): New method.
|
||||
|
@ -48,7 +48,7 @@ public class DataOutputStream extends FilterOutputStream implements DataOutput
|
||||
throws IOException, NullPointerException, IndexOutOfBoundsException
|
||||
{
|
||||
out.write(b, off, len);
|
||||
written += len - off;
|
||||
written += len;
|
||||
}
|
||||
|
||||
public final void writeBoolean (boolean v) throws IOException
|
||||
|
Loading…
x
Reference in New Issue
Block a user