--- a/src/JavaVM.st Fri Nov 18 14:40:56 2011 +0000
+++ b/src/JavaVM.st Fri Nov 18 22:55:16 2011 +0000
@@ -7760,7 +7760,7 @@
].
[
- nread := sock readInto: data startingAt: off count: len.
+ nread := sock readInto: data startingAt: off + 1 count: len.
] on: Error do:[:ex|
self throwSocketException: 'Error when reading: ', ex description.
].
@@ -7798,7 +7798,7 @@
sock := self validateFile: fdObj.
[
- sock nextPutBytes: len from: data startingAt: off.
+ sock nextPutBytes: len from: data startingAt: off + 1.
] on: Error do:[:ex|
self throwIOExceptionWithMessage: 'Error when writing: ', ex description.
].