Discussion on root cause analysis of JDK-7052625 : com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently

2014-02-20 Thread michael cui
Hi, I would like to discuss my current root cause analysis of JDK-7052625 : com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently As JDK-6725892 stated, the purpose of this regression test is testing bad http connections can be

Re: Discussion on root cause analysis of JDK-7052625 : com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently

2014-02-20 Thread David Holmes
Sounds like a question for net-dev more than core-libs - cc'd. David On 20/02/2014 4:11 PM, michael cui wrote: On 02/18/2014 12:51 AM, michael cui wrote: Hi, I would like to discuss my current root cause analysis of JDK-7052625 : com/sun/net/httpserver/bugs/6725892/Test.java fails intermitten

Re: Discussion on root cause analysis of JDK-7052625 : com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently

2014-02-20 Thread Chris Hegarty
Michael, I’m ok with your analysis, and suggested fix. From the original test output, in the bug description, I can see that there are 58 println’s with "Request from:" for test3, and two "Worker: Error writing to server”. This would tend to support your analysis that that server, in some cas

RFR for JDK-7052625 : com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently

2014-02-20 Thread michael cui
On 02/20/2014 07:24 PM, Chris Hegarty wrote: Michael, I’m ok with your analysis, and suggested fix. From the original test output, in the bug description, I can see that there are 58 println’s with "Request from:" for test3, and two "Worker: Error writing to server”. This would tend to suppo

Re: RFR for JDK-7052625 : com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently

2014-02-20 Thread Chris Hegarty
On 20 Feb 2014, at 12:53, michael cui wrote: > On 02/20/2014 07:24 PM, Chris Hegarty wrote: >> Michael, >> >> I’m ok with your analysis, and suggested fix. >> >> From the original test output, in the bug description, I can see that there >> are 58 println’s with "Request from:" for test3, an

Re: Add IDN support to existing net APIs

2014-02-20 Thread Michael McMahon
On 20/02/14 03:15, Jonathan Lu wrote: Hi Michael, Thanks a lot for your comments. On Wed, Feb 19, 2014 at 6:28 PM, Michael McMahon mailto:michael.x.mcma...@oracle.com>> wrote: I think it's a good idea. Before changing anything though, we would need to: 1. identify all APIs th

Re: RFR: JDK-8015692 - java.net.BindException is thrown on Windows XP when HTTP server is started and stopped in the loop.

2014-02-20 Thread Chris Hegarty
Mark, I agree with you, there is certainly some additional co-ordination needed between the thread invoking the stop method and the dispatcher thread. I wonder why you needed to add the selectNow() and the close() after you have joined the dispatcher thread? Since you are guaranteed that the di