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:
committed by
Bryce McKinlay
parent
f79a65c087
commit
1e2bba3565
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user