Re: 答复: 答复: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-20 Thread Daniel Fuchs
; Chris Hegarty; net-dev@openjdk.java.net 主题: Re: 答复: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently On 11/20/13 12:42 PM, Tristan Yan wrote: Thanks Chris and Daniel I change 'clientCtx' to final and error with volatile. Unless I'm mistaken this sho

答复: 答复: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-20 Thread Tristan Yan
Thank you. > Tristan > > -邮件原件- > 发件人: Chris Hegarty > 发送时间: Wednesday, November 20, 2013 6:49 PM > 收件人: Daniel Fuchs; Tristan Yan; net-dev@openjdk.java.net > 主题: Re: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java > fails intermittently > > On 20/11/1

Re: 答复: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-20 Thread Daniel Fuchs
2013 6:49 PM 收件人: Daniel Fuchs; Tristan Yan; net-dev@openjdk.java.net 主题: Re: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently On 20/11/13 10:19, Daniel Fuchs wrote: Hi Tristan, I believe you should also declare the 'error' flag as well as the 'clientC

答复: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-20 Thread Tristan Yan
013 6:49 PM 收件人: Daniel Fuchs; Tristan Yan; net-dev@openjdk.java.net 主题: Re: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently On 20/11/13 10:19, Daniel Fuchs wrote: > Hi Tristan, > > I believe you should also declare the 'error' flag as well as the >

Re: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-20 Thread Chris Hegarty
On 20/11/13 10:19, Daniel Fuchs wrote: Hi Tristan, I believe you should also declare the 'error' flag as well as the 'clientCtx' variable volatile since they are set by a thread and read by another. Good catch Daniel. Tristan, can you update the webrev and create a changeset. I can then spons

Re: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-20 Thread Alan Bateman
On 20/11/2013 04:59, Tristan Yan wrote: /Hi All/ /I am working on https://bugs.openjdk.java.net/browse/JDK-703, this bug was opened 3 years ago and test was put into ProblemList. I ran a 1000 times loop to try to reproduce the failure but I got no luck. Also I use same jdk binaries run a

Re: RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-20 Thread Daniel Fuchs
Hi Tristan, I believe you should also declare the 'error' flag as well as the 'clientCtx' variable volatile since they are set by a thread and read by another. best regards, -- daniel On 11/20/13 5:59 AM, Tristan Yan wrote: /Hi All/ /I am working on https://bugs.openjdk.java.net/browse/JDK-7

RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-19 Thread Tristan Yan
Hi All I am working on https://bugs.openjdk.java.net/browse/JDK-703, this bug was opened 3 years ago and test was put into ProblemList. I ran a 1000 times loop to try to reproduce the failure but I got no luck. Also I use same jdk binaries run all regression tests a couple of hundred time I