Re: [classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-13 Thread Regis
Tim Ellison wrote: On 13/Sep/2009 14:28, Mark Hindess wrote: Beats me. Reading the code, it is a shame we have to traverse the string twice, once to count the bytes required for UTF-8, and again to perform the encoding. I bet it would be worth speculatively optimizing for ascii (if this ever s

Re: [classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-13 Thread Mark Hindess
I've checked in a fix for this in r814380. I'll do a merge to java6 shortly. -Mark. In message <200909112213.n8bmdlff027...@d06av03.portsmouth.uk.ibm.com>, "Mark Hindess" writes: > > I am trying to work through the JDWP java6 branch test failures > (so is Oliver). I see quite a lot of intermit

Re: [classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-13 Thread Tim Ellison
On 13/Sep/2009 14:28, Mark Hindess wrote: > In message <200909130807.n8d87vgb001...@d12av01.megacenter.de.ibm.com>, Mark > Hi > ndess writes: >> >> In message <200909112249.n8bmnnzb016...@d06av04.portsmouth.uk.ibm.com>, >> Mark Hindess writes: >>> In message <4aaacfce.5090...@gmail.com>, Tim Ellis

Re: [classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-13 Thread Mark Hindess
In message <200909130807.n8d87vgb001...@d12av01.megacenter.de.ibm.com>, Mark Hi ndess writes: > > > In message <200909112249.n8bmnnzb016...@d06av04.portsmouth.uk.ibm.com>, > Mark Hindess writes: > > > > In message <4aaacfce.5090...@gmail.com>, Tim Ellison writes: > > > > > > On 11/Sep/2009 23:13

Re: [classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-13 Thread Mark Hindess
In message <200909112249.n8bmnnzb016...@d06av04.portsmouth.uk.ibm.com>, Mark Hindess writes: > > In message <4aaacfce.5090...@gmail.com>, Tim Ellison writes: > > > > On 11/Sep/2009 23:13, Mark Hindess wrote: > > > I am trying to work through the JDWP java6 branch test failures > > > (so is Oliver

Re: [classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-11 Thread Mark Hindess
In message <4aaacfce.5090...@gmail.com>, Tim Ellison writes: > > On 11/Sep/2009 23:13, Mark Hindess wrote: > > I am trying to work through the JDWP java6 branch test failures > > (so is Oliver). I see quite a lot of intermittent failures on > > Linux[0]. I think they are mostly caused by failure

Re: [classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-11 Thread Tim Ellison
On 11/Sep/2009 23:13, Mark Hindess wrote: > I am trying to work through the JDWP java6 branch test failures > (so is Oliver). I see quite a lot of intermittent failures on > Linux[0]. I think they are mostly caused by failures at the time > when the socket used for synchronising the debuggee/debu

[classlib] java.io.DataOutputStream behaviour doesn't match RI

2009-09-11 Thread Mark Hindess
I am trying to work through the JDWP java6 branch test failures (so is Oliver). I see quite a lot of intermittent failures on Linux[0]. I think they are mostly caused by failures at the time when the socket used for synchronising the debuggee/debugger is being closed. The sychronisation is simp