Re: HttpClient API expectations for connection failures

2018-06-12 Thread Jaikiran Pai
Hi Chris, On 12/06/18 8:05 PM, Chris Hegarty wrote: I filed the following JIRA to track this issue: https://bugs.openjdk.java.net/browse/JDK-8204864 I think that the most appropriate course of action is to consistently throw the IOException subtype, ConnectionException ( with the original

Re: HttpClient API expectations for connection failures

2018-06-12 Thread Chris Hegarty
Jaikiran, Apologies for the delay, I missed this email in my inbox. > On 12 Jun 2018, at 01:47, Jaikiran Pai wrote: > > Any thoughts? > I filed the following JIRA to track this issue: https://bugs.openjdk.java.net/browse/JDK-8204864 I think that the most appropriate course of action is to

Re: HttpURLConnection throws SunCertPathBuilderException in jdk11

2018-06-12 Thread Sean Mullan
Please add -Djava.security.debug=certpath to the java command line and attach the log file. Preferably, attach 2 log files, one for a good run and one for a bad run. This should help show what the problem is. --Sean On 6/11/18 7:59 PM, Андрей Турбанов wrote: Hello. I tried to use early jdk11

HttpURLConnection throws SunCertPathBuilderException in jdk11

2018-06-12 Thread Андрей Турбанов
Hello. I tried to use early jdk11 build (http://jdk.java.net/11/) - Oracle JDK build for Windows. I got exception when my program tries to connect (via HttpURLConnection) to https://api.vk.com/ sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to r