Introduce IOException subclass for ECONNRESET

2016-08-23 Thread Norman Maurer
Hi all, I first asked this on nio-dev[0] but was asked to move this over to here: I wonder if it would be possible to add a new IOException sub-class for ECONNRESET. Often you receive these errors if a remote peer closed the connection and you try to read from it while using NIO. This is very o

Re: Introduce IOException subclass for ECONNRESET

2016-08-23 Thread Simone Bordet
Hi, On Tue, Aug 23, 2016 at 9:40 AM, Norman Maurer wrote: > Hi all, > > I first asked this on nio-dev[0] but was asked to move this over to here: > > I wonder if it would be possible to add a new IOException sub-class for > ECONNRESET. Often you receive these errors if a remote peer closed the

Re: [9] RFR: 8164592: java/net/MulticastSocket/NoLoopbackPackets.java tests may leave a daemon thread

2016-08-23 Thread Chris Hegarty
On 23 Aug 2016, at 03:03, Artem Smotrakov wrote: > > Hello, > > Please review the following patch for NoLoopbackPackets.java test. > > The test starts a daemon thread which has an infinite loop. If jtreg uses the > same JVM to run multiple tests (agent VM), then this thread will be keep > run

Re: HTTP client API

2016-08-23 Thread Wenbo Zhu
On Mon, Aug 22, 2016 at 12:56 AM, Michael McMahon < michael.x.mcma...@oracle.com> wrote: > There is an updated version of the HTTP client API doc [1] and a specdiff > [2] showing the changes > proposed from the current version in JDK9 dev. > > The main changes are: > > 1) The request and response

Re: HTTP client API

2016-08-23 Thread Martin Buchholz
On Tue, Aug 23, 2016 at 12:57 PM, Wenbo Zhu wrote: > >> We are currently working in the sandbox repository again and will have >> these changes >> in the main JDK9 dev forest soon. >> > Is it possible to access the API code somewhere before then, mainly as a > convenience for reviewing the APIs?

Re: HTTP client API

2016-08-23 Thread Pavel Rappo
http://cr.openjdk.java.net/~chegar/docs/sandbox.html > On 23 Aug 2016, at 21:20, Martin Buchholz wrote: > > I tried this: > > (Install mercurial trees extension.) > hg tclone http://hg.openjdk.java.net/jdk9/sandbox jdk9-sandbox > hg tupdate -r http-client-branch > > Is that right? > I'm not