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

NullPointerException in jdk.incubator.http.internal.hpack.HeaderTable.Table

2018-05-28 Thread Андрей Турбанов
Hello I'm trying to new use new shiny httpclient from JDK10. Code is pretty simple. I use synchronous HTTP call form multiple threads: private final HttpClient httpClient = HttpClient.newBuilder() .executor(Utils.newFixedThreadPoolExecutor(1, "HttpClient")) .build(); private