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