Re: java.net.http.HttpClient: invalid exception when bad status line is returned

2019-01-23 Thread Dmitry Sivachenko
> On 23 Jan 2019, at 15:32, Daniel Fuchs wrote: > > Hi Dmitry, > > Thanks for reporting this. > > Right - the IllegalArgumentException is a bit strange there, > and an IOException (or subclass of it) wrapping the NumberFormatException > would be more appropriate. > > If you have OpenJDK au

Re: java.net.http.HttpClient: invalid exception when bad status line is returned

2019-01-23 Thread Daniel Fuchs
Hi Dmitry, Thanks for reporting this. Right - the IllegalArgumentException is a bit strange there, and an IOException (or subclass of it) wrapping the NumberFormatException would be more appropriate. If you have OpenJDK author status and a JBS account then you could log a bug at https://bugs.

Re: java.net.http.HttpClient: invalid exception when bad status line is returned

2019-01-23 Thread Dmitry Sivachenko
Hello, is this ML the correct place to report problems with HttpClient? If not, can you please point me to the right place? Thanks. > On 18 Jan 2019, at 23:57, Dmitry Sivachenko wrote: > > Hello, > > I am tasting java.net.http.HttpClient with > > openjdk version "11.0.1" 2018-10-16 > Op

java.net.http.HttpClient: invalid exception when bad status line is returned

2019-01-18 Thread Dmitry Sivachenko
Hello, I am tasting java.net.http.HttpClient with openjdk version "11.0.1" 2018-10-16 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.1+13, mixed mode) on Mac OS X 10.14.2. Consider the case when server responds with bad (invalid f