Commit 1e2bba35 by Bryce McKinlay Committed by Bryce McKinlay

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
parent f79a65c0
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment